summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-22 11:46:19 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-22 11:46:19 +0000
commitbbf7532ca565b8dca29865a31e658e705837e4b8 (patch)
treec0fe9270323e3b583848a62d3222a9cea4fc63ba
parent84104005498acda8cce4d40aa84bc1115722883b (diff)
Set KERNEL_DIR to avoid inclusion of host-side linux sources, closes #702
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4622 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/ipset/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/ipset/Makefile b/package/ipset/Makefile
index d3ea1318ed..92d0570b30 100644
--- a/package/ipset/Makefile
+++ b/package/ipset/Makefile
@@ -28,6 +28,10 @@ DESCRIPTION:=Netfilter ip sets administration utility
URL:=http://ipset.netfilter.org/
endef
+define Build/Compile
+$(call Build/Compile/Default,KERNEL_DIR=$(LINUX_DIR))
+endef
+
define Package/ipset/install
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR=$(1) PREFIX=/usr install