summaryrefslogtreecommitdiff
path: root/v4l/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/Makefile')
-rw-r--r--v4l/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index 3d980c1be..b452c8d0a 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -93,6 +93,12 @@ SNAPSHOT_CFLAGS := -DSNAPSHOT='$(shell cat $(snapshot))'
EXTRA_CFLAGS += $(SNAPSHOT_CFLAGS)
endif
+mm-kernel := $(TOPDIR)/.mm
+ifneq ($(mm-kernel),)
+MM_KERNEL_CFLAGS := -DMM_KERNEL=$(shell cat $(mm-kernel) 2> /dev/null)
+EXTRA_CFLAGS += $(MM_KERNEL_CFLAGS)
+endif
+
bttv.o: $(bttv-objs)
$(LD) -r -o $@ $(bttv-objs)