diff options
author | Michael Krufky <devnull@localhost> | 2005-07-29 05:17:44 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-07-29 05:17:44 +0000 |
commit | 96027e5e951d23ca39a6ed15b882f77a477cb80d (patch) | |
tree | d1585548ac37e5b581395ffc5f35e58f489fae6c /v4l/Makefile | |
parent | 319d808ed30372050868e4e6797e913cd92064e8 (diff) | |
download | mediapointer-dvb-s2-96027e5e951d23ca39a6ed15b882f77a477cb80d.tar.gz mediapointer-dvb-s2-96027e5e951d23ca39a6ed15b882f77a477cb80d.tar.bz2 |
- Include logic to detect merged dvb/v4l cvs trees using
tree merging scripts, adding DVB_CVS to EXTRA_CFLAGS.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'v4l/Makefile')
-rw-r--r-- | v4l/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
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) |