diff options
author | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-15 08:56:24 +0200 |
---|---|---|
committer | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-15 08:56:24 +0200 |
commit | d0f0a79920ac8f5165ef27ca921d2fa4b77032fb (patch) | |
tree | 941d3ec07d467474670717f8e3d40c45798ea9bc | |
parent | 1d2f7df920cba180f2872694a6b1aac58bd186c3 (diff) | |
download | NPTv6-d0f0a79920ac8f5165ef27ca921d2fa4b77032fb.tar NPTv6-d0f0a79920ac8f5165ef27ca921d2fa4b77032fb.zip |
git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@36 3484d885-4da6-438d-b19d-107d078dd756
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ obj-m := ip6t_MAP66.o KVERSION := $(shell uname -r) KPATH := /lib/modules/$(KVERSION)/build -IPTABLES_VERSION := $(shell /sbin/ip6tables --version|sed 's/^.*\([[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\).*/\1/') +IPTABLES_VERSION := $(shell (/sbin/ip6tables --version 2>&- || ip6tables --version)|sed 's/^.*\([[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\).*/\1/') IPTABLES_VERSION_CODE := $(shell echo $$(( $$(echo $(IPTABLES_VERSION)|sed 's/^.*\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*/\1 * 65536 + \2 * 256 + \3/') ))) ifeq ($(DEBUG),1) EXTRA_CFLAGS := -DDEBUG |