24 lines
611 B
Makefile
24 lines
611 B
Makefile
EXTRA_CFLAGS +=-I$(srctree)/include/drivers
|
|
|
|
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
|
|
|
|
ifeq (${CONFIG_BSP_FSL_FRDM_K64F},y)
|
|
EXTRA_CFLAGS +=-I$(srctree)/arch/arm/fsl_frdm_k64f
|
|
endif
|
|
|
|
ifeq (${CONFIG_BSP_TI_LM3S6965},y)
|
|
EXTRA_CFLAGS +=-I$(srctree)/arch/arm/ti_lm3s6965
|
|
endif
|
|
|
|
obj-$(CONFIG_DRV_NS16550) = ns16550.o
|
|
obj-$(CONFIG_DRV_K20_UART) = k20UartDrv.o
|
|
obj-$(CONFIG_DRV_STELLARIS_UART) = stellarisUartDrv.o
|