From: Peter Korsgaard Date: Fri, 22 Jul 2011 11:51:45 +0000 (+0200) Subject: ipset: ensure target kernel headers are used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca99c04d2676ba66b670b0eb17ed5fe5d37db4e2;p=buildroot.git 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 --- diff --git a/package/ipset/ipset.mk b/package/ipset/ipset.mk index 9d901fc53e..700d2bc229 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))