summaryrefslogtreecommitdiff
path: root/drivers/staging/easycap/Makefile
diff options
context:
space:
mode:
authorMike Thomas <rmthomas@sciolus.org>2011-01-10 18:41:11 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-21 12:25:55 -0800
commita9855917290fc40dbfd67d3ee06c190667d6c5b5 (patch)
treeb24a96d42526d681d04c6e678fe0649f4a25ba45 /drivers/staging/easycap/Makefile
parentb54a28a418b2730bf61554864fee3fb24f79e182 (diff)
staging: easycap: add ALSA support
This is necessary because some distributions are disabling OSS entirely. Signed-off-by: Mike Thomas <rmthomas@sciolus.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/easycap/Makefile')
-rw-r--r--drivers/staging/easycap/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/staging/easycap/Makefile b/drivers/staging/easycap/Makefile
index f1f2fbebf8f6..977e1535667d 100644
--- a/drivers/staging/easycap/Makefile
+++ b/drivers/staging/easycap/Makefile
@@ -1,14 +1,13 @@
+easycap-objs := easycap_main.o easycap_low.o easycap_sound.o \
+ easycap_ioctl.o easycap_settings.o easycap_testcard.o
-obj-$(CONFIG_EASYCAP) += easycap.o
-
-easycap-y := easycap_main.o easycap_low.o easycap_sound.o
-easycap-y += easycap_ioctl.o easycap_settings.o
-easycap-y += easycap_testcard.o
+obj-$(CONFIG_EASYCAP) += easycap.o
ccflags-y := -Wall
-# Impose all or none of the following:
ccflags-y += -DEASYCAP_IS_VIDEODEV_CLIENT
ccflags-y += -DEASYCAP_NEEDS_V4L2_DEVICE_H
ccflags-y += -DEASYCAP_NEEDS_V4L2_FOPS
ccflags-y += -DEASYCAP_NEEDS_UNLOCKED_IOCTL
+ccflags-y += -DEASYCAP_NEEDS_ALSA
+ccflags-y += -DEASYCAP_NEEDS_CARD_CREATE