According to section 3.7 of Documentation/kbuild/makefiles.txt, using EXTRA_CFLAGS in Makefiles is "still supported but their usage is deprecated." However, using make EXTRA_CFLAGS="-DSOMETHING" results in EXTRA_CFLAGS from Makefiles being overwritten, obviously breaking the build. This patch converts to them to the newer ccflags-y which also fixes the problem. Change-Id: I6309439599d4c9cc184f9ecd941bde841982ef07 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
6 lines
194 B
Makefile
6 lines
194 B
Makefile
ccflags-y +=-I$(srctree)/include/drivers
|
|
ccflags-y +=-I$(srctree)/arch/$(ARCH)
|
|
ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
|
|
|
|
obj-${CONFIG_PIC}${CONFIG_SHUTOFF_PIC} = i8259.o
|