From: Chen Gang Date: Thu, 28 Feb 2013 06:08:02 +0000 (-0300) Subject: [media] drivers/staging/media/as102: using ccflags-y instead of EXTRA_FLAGS in Makefile X-Git-Tag: next-20130320~74^2^2~22 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a2262508cba04587dbb0793ddf23be57f86dc583;p=karo-tx-linux.git [media] drivers/staging/media/as102: using ccflags-y instead of EXTRA_FLAGS in Makefile need using ccflags-y instead of EXTRA_CFLAGS can reference scripts/checkpatch.pl (1755..1766) when make EXTRA_CFLAGS=-W, the compiling issue will be occured. Signed-off-by: Chen Gang Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/as102/Makefile b/drivers/staging/media/as102/Makefile index d8dfb757f1e2..8916d8a909bc 100644 --- a/drivers/staging/media/as102/Makefile +++ b/drivers/staging/media/as102/Makefile @@ -3,4 +3,4 @@ dvb-as102-objs := as102_drv.o as102_fw.o as10x_cmd.o as10x_cmd_stream.o \ obj-$(CONFIG_DVB_AS102) += dvb-as102.o -EXTRA_CFLAGS += -Idrivers/media/dvb-core +ccflags-y += -Idrivers/media/dvb-core