From: Florian Fainelli Date: Tue, 22 Aug 2006 11:46:19 +0000 (+0000) Subject: Set KERNEL_DIR to avoid inclusion of host-side linux sources, closes #702 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7702221df76156aff3758b502b100a8f536a797b;p=openwrt%2Fstaging%2Fansuel.git Set KERNEL_DIR to avoid inclusion of host-side linux sources, closes #702 SVN-Revision: 4622 --- diff --git a/openwrt/package/ipset/Makefile b/openwrt/package/ipset/Makefile index d3ea1318ed..92d0570b30 100644 --- a/openwrt/package/ipset/Makefile +++ b/openwrt/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