Creation of Makefiles for drivers directory.
This commit adds the Makefiles that describe the object-bundles for the drivers directory and every subdirectory below. Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com> Change-Id: Id77cff9cf0ab51827acc2aef32cbed3ec3ad586b
This commit is contained in:
parent
1c233a0377
commit
f2ae6d5202
5
drivers/Makefile
Normal file
5
drivers/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
obj-$(CONFIG_DRV_CONSOLE) = console/
|
||||
obj-$(CONFIG_DRV_SERIAL) += serial/
|
||||
obj-$(CONFIG_DRV_TIMER) += timer/
|
||||
obj-$(CONFIG_DRV_INTCTL) += interrupt_controller/
|
||||
obj-$(CONFIG_DRV_PCI) += pci/
|
21
drivers/console/Makefile
Normal file
21
drivers/console/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
EXTRA_CFLAGS +=-I$(srctree)/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/generic_pc
|
||||
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-y = uart_console.o
|
5
drivers/interrupt_controller/Makefile
Normal file
5
drivers/interrupt_controller/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
EXTRA_CFLAGS +=-I$(srctree)/drivers
|
||||
EXTRA_CFLAGS +=-I$(srctree)/arch/x86/generic_pc
|
||||
EXTRA_CFLAGS +=-I$(srctree)/arch/x86
|
||||
|
||||
obj-${CONFIG_PIC}${CONFIG_SHUTOFF_PIC} = i8259.o
|
1
drivers/pci/Makefile
Normal file
1
drivers/pci/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
obj-y = pci.o pci_config.o pci_interface.o
|
1
drivers/random/Makefile
Normal file
1
drivers/random/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
obj-y = rand32-timer.o
|
23
drivers/serial/Makefile
Normal file
23
drivers/serial/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
EXTRA_CFLAGS +=-I$(srctree)/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
|
1
drivers/timer/Makefile
Normal file
1
drivers/timer/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
obj-$(CONFIG_PIT) = i8253.o
|
Loading…
Reference in a new issue