[media] drivers/staging/media/as102: using ccflags-y instead of EXTRA_FLAGS in Makefile
authorChen Gang <gang.chen@asianux.com>
Thu, 28 Feb 2013 06:08:02 +0000 (03:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 18 Mar 2013 20:16:54 +0000 (17:16 -0300)
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 <gang.chen@asianux.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/as102/Makefile

index d8dfb757f1e2f829ede7f0cd5720542f584aff25..8916d8a909bc6dec3c499f73309e8623a4da028a 100644 (file)
@@ -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