Skip to content

Commit 54d3d7d

Browse files
rddunlapjcmvbkbc
authored andcommitted
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: 437374e ("restore arch/{ppc/xtensa}/boot cflags") Fixes: 4bedea9 ("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>
1 parent 1b59efe commit 54d3d7d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/xtensa/boot/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010

1111
# KBUILD_CFLAGS used when building rest of boot (takes effect recursively)
12-
KBUILD_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include
13-
HOSTFLAGS += -Iarch/$(ARCH)/boot/include
12+
KBUILD_CFLAGS += -fno-builtin
1413

1514
subdir-y := lib
1615
targets += vmlinux.bin vmlinux.bin.gz

0 commit comments

Comments
 (0)