mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-12 09:06:15 +00:00
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>
5 lines
132 B
Makefile
5 lines
132 B
Makefile
ccflags-y +=-I$(srctree)/arch/$(ARCH)
|
|
ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
|
|
|
|
obj-$(CONFIG_PIT) = i8253.o
|