summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-07-22 11:51:45 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-07-22 11:51:45 (GMT)
commitca99c04d2676ba66b670b0eb17ed5fe5d37db4e2 (patch)
tree018fa222ee5c4c5e68d86609fcfb178ebae63303
parentd58aab892ec95b9a4bdb48a15440212cd7f23d77 (diff)
downloadbuildroot-ca99c04d2676ba66b670b0eb17ed5fe5d37db4e2.tar.gz
buildroot-ca99c04d2676ba66b670b0eb17ed5fe5d37db4e2.tar.bz2
ipset: ensure target kernel headers are used
ipsets configure script checks the kernel headers to ensure the kernel is new enough / has patch applied, and errors out if this is not so. Ensure that the target kernel headers are searched, rather than what is available on the build host. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/ipset/ipset.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/ipset/ipset.mk b/package/ipset/ipset.mk
index 9d901fc..700d2bc 100644
--- a/package/ipset/ipset.mk
+++ b/package/ipset/ipset.mk
@@ -9,5 +9,6 @@ IPSET_SOURCE = ipset-$(IPSET_VERSION).tar.bz2
IPSET_SITE = http://ipset.netfilter.org
IPSET_AUTORECONF = YES
IPSET_DEPENDENCIES = libmnl host-pkg-config
+IPSET_CONF_OPT = --with-ksource=$(LINUX_HEADERS_DIR)
$(eval $(call AUTOTARGETS,package,ipset))