Skip to content

Commit

Permalink
[media] drivers/staging/media/as102: using ccflags-y instead of EXTRA…
Browse files Browse the repository at this point in the history
…_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 <gang.chen@asianux.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Chen Gang authored and Mauro Carvalho Chehab committed Mar 18, 2013
1 parent c937ca0 commit a226250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/media/as102/Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a226250

Please sign in to comment.