Skip to content

Commit

Permalink
Staging: easycap: Makefile: cleaned up Makefile cflag lines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tracey Dent authored and Greg Kroah-Hartman committed Oct 5, 2010
1 parent 23e59c4 commit 958f2f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/easycap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 958f2f4

Please sign in to comment.