[PATCH] Staging: dgnc: Makefile: replaced EXTRA_CFLAGS with ccflags-y
Replaced EXTRA_CFLAGS which is deprecated with ccflags-y Signed-off-by: Abel Moyo abelmoyo...@gmail.com --- drivers/staging/dgnc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/Makefile b/drivers/staging/dgnc/Makefile index b69f7b6..d70323e 100644 --- a/drivers/staging/dgnc/Makefile +++ b/drivers/staging/dgnc/Makefile @@ -1,4 +1,4 @@ -EXTRA_CFLAGS += -DDG_NAME=\dgnc-1.3-16\ -DDG_PART=\40002369_F\ +ccflags-y += -DDG_NAME=\dgnc-1.3-16\ -DDG_PART=\40002369_F\ obj-$(CONFIG_DGNC) += dgnc.o -- 1.8.5.5 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Re: [PATCH] Staging: dgnc: Makefile: replaced EXTRA_CFLAGS with ccflags-y
On Sun, Oct 19, 2014 at 06:28:16PM +0200, Abel Moyo wrote: Replaced EXTRA_CFLAGS which is deprecated with ccflags-y Signed-off-by: Abel Moyo abelmoyo...@gmail.com --- drivers/staging/dgnc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/Makefile b/drivers/staging/dgnc/Makefile index b69f7b6..d70323e 100644 --- a/drivers/staging/dgnc/Makefile +++ b/drivers/staging/dgnc/Makefile @@ -1,4 +1,4 @@ -EXTRA_CFLAGS += -DDG_NAME=\dgnc-1.3-16\ -DDG_PART=\40002369_F\ +ccflags-y += -DDG_NAME=\dgnc-1.3-16\ -DDG_PART=\40002369_F\ How about removing the kernel use of these flags instead, as they should not be needed to be added to the Makefile. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel