drivers/simple: Use ccflags-y instead of EXTRA_CFLAGS
According to section 3.7 of Documentation/kbuild/makefiles.txt, using EXTRA_CFLAGS in Makefiles is "still supported but their usage is deprecated." Change-Id: Iec6121b6b79a6a8c58ac26b8b08a542eac575c22 Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
This commit is contained in:
parent
702a596594
commit
b70ba38325
|
@ -1,5 +1,5 @@
|
|||
EXTRA_CFLAGS +=-I$(srctree)/include/drivers
|
||||
EXTRA_CFLAGS +=-I$(srctree)/arch/$(ARCH)
|
||||
EXTRA_CFLAGS +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
|
||||
ccflags-y +=-I$(srctree)/include/drivers
|
||||
ccflags-y +=-I$(srctree)/arch/$(ARCH)
|
||||
ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
|
||||
|
||||
obj-y=uart.o
|
||||
|
|
Loading…
Reference in a new issue