Kbuild: include files dynamically based on BSP_DIR
Change-Id: If36a03acb633c772d599ae1492ebabf04c432306 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
73b3d99692
commit
f4f5cc138c
8 changed files with 18 additions and 76 deletions
|
@ -1,12 +1,6 @@
|
|||
ifeq (${CONFIG_BSP_GENERIC_PC},y)
|
||||
EXTRA_CFLAGS +=-I$(srctree)/arch/x86
|
||||
EXTRA_CFLAGS +=-I$(srctree)/arch/x86/generic_pc
|
||||
endif
|
||||
|
||||
ifeq (${CONFIG_BSP_QUARK},y)
|
||||
EXTRA_CFLAGS +=-I$(srctree)/arch/x86
|
||||
EXTRA_CFLAGS +=-I$(srctree)/arch/x86/quark
|
||||
endif
|
||||
EXTRA_CFLAGS += -I$(srctree)/include/drivers
|
||||
|
||||
EXTRA_CFLAGS +=-I$(srctree)/arch/$(ARCH)
|
||||
EXTRA_CFLAGS +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
|
||||
|
||||
obj-y = pci.o pci_config.o pci_interface.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue