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://207.154.207.93/?a=commitdiff_plain;h=2185720d316b2ae0151cd6b55c9f167c96bf1b37;p=15.05%2Fopenwrt.git 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 --- 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