From: Tracey Dent Date: Sat, 2 Oct 2010 16:37:55 +0000 (-0400) Subject: Staging: easycap: Makefile: cleaned up Makefile cflag lines X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=958f2f42e2328c5fda24e25c1d1cdbddaf438325;p=linux-beck.git Staging: easycap: Makefile: cleaned up Makefile cflag lines Changed to use the proper ccflags-y option Signed-off-by: Tracey Dent Acked-by: Sam Ravnborg Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/easycap/Makefile b/drivers/staging/easycap/Makefile index d93bd6b70a4b..680f370f33d1 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