summaryrefslogtreecommitdiffstats
path: root/drivers/staging/easycap/Makefile
diff options
context:
space:
mode:
authorTracey Dent <tdent48227@gmail.com>2010-10-02 12:37:55 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-05 11:56:39 -0700
commit958f2f42e2328c5fda24e25c1d1cdbddaf438325 (patch)
treeb565c31679aa0ad572939e139b7401cad2d96c21 /drivers/staging/easycap/Makefile
parent23e59c47b51103a90f582603209380dbf3271751 (diff)
downloadop-kernel-dev-958f2f42e2328c5fda24e25c1d1cdbddaf438325.zip
op-kernel-dev-958f2f42e2328c5fda24e25c1d1cdbddaf438325.tar.gz
Staging: easycap: Makefile: cleaned up Makefile cflag lines
Changed to use the proper ccflags-y option Signed-off-by: Tracey Dent <tdent48227@gmail.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/easycap/Makefile')
-rw-r--r--drivers/staging/easycap/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/easycap/Makefile b/drivers/staging/easycap/Makefile
index d93bd6b..680f370 100644
--- a/drivers/staging/easycap/Makefile
+++ b/drivers/staging/easycap/Makefile
@@ -5,9 +5,9 @@ easycap-objs := easycap_main.o easycap_low.o easycap_sound.o
easycap-objs += easycap_ioctl.o easycap_settings.o
easycap-objs += easycap_testcard.o
-EXTRA_CFLAGS += -Wall
+ccflags-y := -Wall
# Impose all or none of the following:
-EXTRA_CFLAGS += -DEASYCAP_IS_VIDEODEV_CLIENT
-EXTRA_CFLAGS += -DEASYCAP_NEEDS_V4L2_DEVICE_H
-EXTRA_CFLAGS += -DEASYCAP_NEEDS_V4L2_FOPS
+ccflags-y += -DEASYCAP_IS_VIDEODEV_CLIENT
+ccflags-y += -DEASYCAP_NEEDS_V4L2_DEVICE_H
+ccflags-y += -DEASYCAP_NEEDS_V4L2_FOPS
OpenPOWER on IntegriCloud