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 <[email protected]> Cc: Chris Zankel <[email protected]> Cc: Max Filippov <[email protected]> Message-Id: <[email protected]> Signed-off-by: Max Filippov <[email protected]>
1 parent 1b59efe commit 54d3d7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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)