globally include headers for boards and platforms
Change-Id: I1f259cccc73dfb3d35019d6ebf3d3bdc6aec2b23 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
aae72278dd
commit
220c54818c
10 changed files with 2 additions and 13 deletions
2
Makefile
2
Makefile
|
@ -345,6 +345,8 @@ export PLATFORM_NAME SOC_NAME BOARD_NAME ARCH KERNEL_NAME KERNEL_ELF_NAME
|
|||
# Needed to be compatible with the O= option
|
||||
ZEPHYRINCLUDE = \
|
||||
-I$(srctree)/arch/$(ARCH)/include \
|
||||
-I$(srctree)/arch/$(ARCH)/platforms/$(PLATFORM_NAME) \
|
||||
-I$(srctree)/boards/$(BOARD_NAME) \
|
||||
$(if $(KBUILD_SRC), -I$(srctree)/include) \
|
||||
-I$(srctree)/include \
|
||||
-I$(CURDIR)/include/generated \
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
subdir-ccflags-y +=-I$(srctree)/arch/arc/platforms/$(PLATFORM_NAME)
|
||||
subdir-ccflags-y +=-I$(srctree)/include/drivers
|
||||
subdir-ccflags-y +=-I$(srctree)/drivers
|
||||
subdir-asflags-y += $(subdir-ccflags-y)
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
ccflags-y +=-I$(srctree)/arch/arc/platforms/$(PLATFORM_NAME)
|
||||
ccflags-y +=-I$(srctree)/arch/x86/platforms/
|
||||
ccflags-y +=-I$(srctree)/include
|
||||
ccflags-y +=-I$(srctree)/include/drivers
|
||||
ccflags-y +=-I$(srctree)/drivers
|
||||
asflags-y +=-I$(srctree)/arch/arc/platforms/$(PLATFORM_NAME)
|
||||
ccflags-$(CONFIG_ADC) +=-I$(srctree)/drivers/adc
|
||||
|
||||
asflags-y := ${ccflags-y}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
subdir-ccflags-y +=-I$(srctree)/include/drivers
|
||||
subdir-ccflags-y +=-I$(srctree)/drivers
|
||||
subdir-ccflags-y +=-I$(srctree)/arch/arm/platforms/$(PLATFORM_NAME)
|
||||
subdir-asflags-y := ${subdir-ccflags-y}
|
||||
|
||||
obj-y += core/
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
ccflags-y +=-I$(srctree)/arch/x86
|
||||
ccflags-y +=-I$(srctree)/arch/x86/platforms/$(PLATFORM_NAME)/
|
||||
ccflags-y +=-I$(srctree)/include/drivers
|
||||
ccflags-y +=-I$(srctree)/drivers
|
||||
asflags-y := ${ccflags-y}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
subdir-ccflags-y += -I$(srctree)/include/drivers
|
||||
subdir-ccflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(PLATFORM_NAME)
|
||||
subdir-asflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(PLATFORM_NAME)
|
||||
|
||||
obj-y = console/
|
||||
obj-y += random/
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
ccflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(PLATFORM_NAME)
|
||||
|
||||
obj-y = main.o
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
ccflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(PLATFORM_NAME)
|
||||
asflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(PLATFORM_NAME)
|
||||
obj-y = main.o
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
ccflags-y += -I${srctree}/samples/include
|
||||
ccflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(PLATFORM_NAME)
|
||||
|
||||
obj-y = atomic.o
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
ccflags-y += -I${srctree}/samples/include
|
||||
ccflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(PLATFORM_NAME)
|
||||
ccflags-$(CONFIG_PLATFORM_QUARK_D2000) += -DFIBER_STACKSIZE=256
|
||||
|
||||
obj-y = context.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue