drivers: use subdir-ccflags-y for all drivers
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>
This commit is contained in:
parent
427cdd36ec
commit
d2fff1fb7a
9 changed files with 4 additions and 33 deletions
|
@ -1,5 +1,2 @@
|
|||
ccflags-y +=-I$(srctree)/arch/$(ARCH)
|
||||
ccflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(strip $(CONFIG_PLATFORM))
|
||||
|
||||
obj-$(CONFIG_TIMER_RANDOM_GENERATOR) = rand32-timer.o
|
||||
obj-$(CONFIG_X86_TSC_RANDOM_GENERATOR) += rand32-timestamp.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue