From a9ff6140f8e92cc2bf177238abadec338e4ed6a2 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Sun, 31 Jul 2005 20:58:53 +0000 Subject: - Better method for Makefile to detect compilation against -mm tree. Thanks to Sam Ravnborg Signed-off-by: Michael Krufky --- v4l/scripts/merge-trees.sh | 4 ++-- v4l/scripts/unmerge-trees.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'v4l/scripts') diff --git a/v4l/scripts/merge-trees.sh b/v4l/scripts/merge-trees.sh index d5be8ae23..2d16a39ab 100644 --- a/v4l/scripts/merge-trees.sh +++ b/v4l/scripts/merge-trees.sh @@ -38,7 +38,7 @@ diff -upr video4linux.orig/Makefile video4linux/Makefile EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core/ EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends/ ifeq ($(CONFIG_VIDEO_CX88_DVB),m) -@@ -131,6 +132,7 @@ ifeq ($(inst-m),) +@@ -125,6 +126,7 @@ ifeq ($(inst-m),) endif inst_common := ir-common.ko @@ -46,7 +46,7 @@ diff -upr video4linux.orig/Makefile video4linux/Makefile inst_video := btcx-risc.ko bttv.ko tda9887.ko tuner.ko tvaudio.ko tveeprom.ko inst_video += tvmixer.ko v4l1-compat.ko v4l2-common.ko inst_video += video-buf.ko video-buf-dvb.ko -@@ -157,6 +159,9 @@ install:: rminstall +@@ -151,6 +153,9 @@ install:: rminstall -install -d $(KDIR26)/common -install -m 644 -c $(inst_common) $(KDIR26)/common diff --git a/v4l/scripts/unmerge-trees.sh b/v4l/scripts/unmerge-trees.sh index 82ec3b04f..a3224d794 100644 --- a/v4l/scripts/unmerge-trees.sh +++ b/v4l/scripts/unmerge-trees.sh @@ -38,7 +38,7 @@ diff -upr video4linux/Makefile video4linux.orig/Makefile EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core/ EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends/ ifeq ($(CONFIG_VIDEO_CX88_DVB),m) -@@ -132,7 +131,6 @@ ifeq ($(inst-m),) +@@ -126,7 +125,6 @@ ifeq ($(inst-m),) endif inst_common := ir-common.ko @@ -46,7 +46,7 @@ diff -upr video4linux/Makefile video4linux.orig/Makefile inst_video := btcx-risc.ko bttv.ko tda9887.ko tuner.ko tvaudio.ko tveeprom.ko inst_video += tvmixer.ko v4l1-compat.ko v4l2-common.ko inst_video += video-buf.ko video-buf-dvb.ko -@@ -159,9 +157,6 @@ install:: rminstall +@@ -153,9 +151,6 @@ install:: rminstall -install -d $(KDIR26)/common -install -m 644 -c $(inst_common) $(KDIR26)/common -- cgit v1.2.3