From 96027e5e951d23ca39a6ed15b882f77a477cb80d Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Fri, 29 Jul 2005 05:17:44 +0000 Subject: - Include logic to detect merged dvb/v4l cvs trees using tree merging scripts, adding DVB_CVS to EXTRA_CFLAGS. Signed-off-by: Michael Krufky --- v4l/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'v4l/Makefile') diff --git a/v4l/Makefile b/v4l/Makefile index 1da3d55b8..77e07570c 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -93,6 +93,14 @@ SNAPSHOT_CFLAGS := -DSNAPSHOT='$(shell cat $(snapshot))' EXTRA_CFLAGS += $(SNAPSHOT_CFLAGS) endif +dvb-cvs := $(wildcard $(obj)/.dvb) +ifneq ($(dvb-cvs),) +DVB_CVS_CFLAGS := -DDVB_CVS=$(shell cat $(dvb-cvs) 2> /dev/null) +ifneq ($(DVB_CVS_CFLAGS),) +EXTRA_CFLAGS += $(DVB_CVS_CFLAGS) +endif +endif + mm-kernel := $(TOPDIR)/.mm ifneq ($(mm-kernel),) MM_KERNEL_CFLAGS := -DMM_KERNEL=$(shell cat $(mm-kernel) 2> /dev/null) -- cgit v1.2.3