Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 437374e9 authored by Milton Miller's avatar Milton Miller Committed by Sam Ravnborg
Browse files

kbuild: restore arch/{ppc/xtensa}/boot cflags



Commit 9a39e273 removed the boot directory
addition to CFLAGS that was being used by the subdirectory builds.  For the
other files, that patch set EXTRA_CFLAGS, but Makefile.build explicitly
sets that to empty as it is explicitly for a single directory only.
Append to KBUILD_CFLAGS instead.

Signed-off-by: default avatarMilton Miller <miltonm@bga.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent a54bb701
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@
# modified by Cort (cort@cs.nmt.edu)
#

# KBUILD_CFLAGS used when building rest of boot (takes effect recursively)
KBUILD_CFLAGS 	+= -fno-builtin -D__BOOTER__ -Iarch/$(ARCH)/boot/include
HOSTCFLAGS	+= -Iarch/$(ARCH)/boot/include

BOOT_TARGETS	= zImage zImage.initrd znetboot znetboot.initrd
+2 −1
Original line number Diff line number Diff line
@@ -8,7 +8,8 @@
#


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

BIG_ENDIAN	:= $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#")