From b70ba38325b04b22303949b44db3e481f91148e8 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 15 Jun 2015 10:17:29 +0200 Subject: [PATCH] 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 --- drivers/simple/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/simple/Makefile b/drivers/simple/Makefile index 3b2967db57a..ff7187091c0 100644 --- a/drivers/simple/Makefile +++ b/drivers/simple/Makefile @@ -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