diff options
author | Michael Krufky <devnull@localhost> | 2005-07-27 04:58:50 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-07-27 04:58:50 +0000 |
commit | bfa68ebe9380a8f2246d195fe464409fddb262ab (patch) | |
tree | 4db6909c823b95d96b40270fa7d98f4585788779 /v4l/Makefile | |
parent | 4da1bfd14a15592e7c3a4c8585135932470515b3 (diff) | |
download | mediapointer-dvb-s2-bfa68ebe9380a8f2246d195fe464409fddb262ab.tar.gz mediapointer-dvb-s2-bfa68ebe9380a8f2246d195fe464409fddb262ab.tar.bz2 |
Include logic to detect compilation against -mm kernels,
adding MM_KERNEL to EXTRA_CFLAGS. This test will be available
in -mm kernels AFTER (but not including) 2.6.13-rc3-mm1.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'v4l/Makefile')
-rw-r--r-- | v4l/Makefile | 2 |
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) |