diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-09-20 07:21:37 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2023-09-20 14:03:22 +0200 |
commit | 54d3d7d363823782c3444ddc41bb8cf1edc80514 (patch) | |
tree | 328525ec16c1910bee657421bf044624f64360f4 /arch | |
parent | xtensa: iss/network: make functions static (diff) | |
download | linux-54d3d7d363823782c3444ddc41bb8cf1edc80514.tar.xz linux-54d3d7d363823782c3444ddc41bb8cf1edc80514.zip |
xtensa: boot: don't add include-dirs
Drop the -I<include-dir> options to prevent build warnings since there
is not boot/include directory:
cc1: warning: arch/xtensa/boot/include: No such file or directory [-Wmissing-include-dirs]
Fixes: 437374e9a950 ("restore arch/{ppc/xtensa}/boot cflags")
Fixes: 4bedea945451 ("xtensa: Architecture support for Tensilica Xtensa Part 2")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <20230920052139.10570-15-rdunlap@infradead.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/xtensa/boot/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile index a65b7a9ebff2..d8b0fadf429a 100644 --- a/arch/xtensa/boot/Makefile +++ b/arch/xtensa/boot/Makefile @@ -9,8 +9,7 @@ # KBUILD_CFLAGS used when building rest of boot (takes effect recursively) -KBUILD_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include -HOSTFLAGS += -Iarch/$(ARCH)/boot/include +KBUILD_CFLAGS += -fno-builtin subdir-y := lib targets += vmlinux.bin vmlinux.bin.gz |