summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-11-27 14:58:03 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-11-27 14:58:03 +0100
commitbf199cd765324da8aff2300a3ea1169372ecbe0b (patch)
treef6e5eaaf875abcfa6ed2574db799679c9f7fb8f5 /Makefile.am
parenta9ff31b7aa8dbb12c04fdf2b0add6a9966a5cb67 (diff)
Add ipset package version to external module description
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index f4fd978..9e2d59b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,6 +21,7 @@ modules_sparse:
if WITH_KMOD
${MAKE} -C $(KBUILD_OUTPUT) M=$$PWD/kernel/net/netfilter \
V=$V C=2 CF=-D__CHECK_ENDIAN__ \
+ KCFLAGS="-DPACKAGE_VERSION=$(PACKAGE_VERSION)" \
IP_SET_MAX=$(IP_SET_MAX) KDIR=$$PWD/kernel modules
else
@echo Skipping kernel modules due to --with-kmod=no
@@ -29,6 +30,7 @@ endif
modules:
if WITH_KMOD
${MAKE} -C $(KBUILD_OUTPUT) M=$$PWD/kernel/net/netfilter V=$V \
+ KCFLAGS="-DPACKAGE_VERSION=$(PACKAGE_VERSION)" \
IP_SET_MAX=$(IP_SET_MAX) KDIR=$$PWD/kernel modules
else
@echo Skipping kernel modules due to --with-kmod=no