d2fff1fb7a
All driver Makefiles are adding the same cflags and they have been done inconsistenly, make all drivers inherit from the top level Makefile and remove unused includes. Change-Id: Ie66d0ba7a418ac26f7eb709f50c887dc682e935c Signed-off-by: Anas Nashif <anas.nashif@intel.com>
13 lines
437 B
Makefile
13 lines
437 B
Makefile
subdir-ccflags-y += -I$(srctree)/include/drivers
|
|
subdir-ccflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(subst $(DQUOTE),,$(CONFIG_PLATFORM))
|
|
subdir-asflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(subst $(DQUOTE),,$(CONFIG_PLATFORM))
|
|
|
|
obj-y = console/
|
|
obj-y += random/
|
|
obj-y += serial/
|
|
obj-y += timer/
|
|
obj-y += interrupt_controller/
|
|
obj-$(CONFIG_PCI) += pci/
|
|
obj-$(CONFIG_BLUETOOTH) += bluetooth/
|
|
obj-$(CONFIG_UART_SIMPLE) += simple/
|