All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/staging/media/as102: using ccflags-y instead of EXTRA_FLAGS in Makefile
@ 2013-02-28  7:08 Chen Gang
  0 siblings, 0 replies; only message in thread
From: Chen Gang @ 2013-02-28  7:08 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Greg KH, linux-media,
	devel@driverdev.osuosl.org


  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>
---
 drivers/staging/media/as102/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/media/as102/Makefile b/drivers/staging/media/as102/Makefile
index d8dfb75..8916d8a 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
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-28  7:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-28  7:08 [PATCH] drivers/staging/media/as102: using ccflags-y instead of EXTRA_FLAGS in Makefile Chen Gang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.