diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-04-25 14:30:28 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-04-25 14:30:28 +0200 |
commit | 4b2636bd2aea3aa4f5844083a1de0e9283f31a7a (patch) | |
tree | cc107b7bd164aaa28c759900e090050e49251b18 /package/rtsp/src/Makefile | |
parent | ab0fccc6bc1991aa1a9e37fde4b6e27361b7ff44 (diff) |
use latest version of rtsp as a package, instead of kernel patch
Diffstat (limited to 'package/rtsp/src/Makefile')
-rw-r--r-- | package/rtsp/src/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/rtsp/src/Makefile b/package/rtsp/src/Makefile new file mode 100644 index 000000000..d7be5bab8 --- /dev/null +++ b/package/rtsp/src/Makefile @@ -0,0 +1,24 @@ +ifneq ($(KERNELRELEASE),) +# kbuild part of makefile +ifndef CONFIG_NF_CONNTRACK +$(error ** You need to enable NF_CONNTRACK in your kernel **) +endif + +obj-m := nf_conntrack_rtsp.o nf_nat_rtsp.o +else + +# Normal Makefile + +all: + $(MAKE) -C $(KERNELDIR) M=`pwd` modules + +debug: + $(MAKE) -C $(KERNELDIR) EXTRA_CFLAGS=-DDEBUG M=`pwd` modules + +modules_install: + $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install + +clean: + rm -rf *.o *.ko *.mod.c .*.cmd Module.symvers modules.order .tmp_versions + +endif |