summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--v4l/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index b452c8d0a..1da3d55b8 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -96,8 +96,10 @@ endif
mm-kernel := $(TOPDIR)/.mm
ifneq ($(mm-kernel),)
MM_KERNEL_CFLAGS := -DMM_KERNEL=$(shell cat $(mm-kernel) 2> /dev/null)
+ifneq ($(MM_KERNEL_CFLAGS),)
EXTRA_CFLAGS += $(MM_KERNEL_CFLAGS)
endif
+endif
bttv.o: $(bttv-objs)
$(LD) -r -o $@ $(bttv-objs)