[Buildroot] [git commit] ipset: ensure target kernel headers are used
Peter Korsgaard
jacmet at uclibc.org
Mon Jul 25 07:55:04 UTC 2011
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
Thomas> Le Fri, 22 Jul 2011 13:51:45 +0200,
Thomas> Peter Korsgaard <jacmet at sunsite.dk> a écrit :
>> 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)
Thomas> I am sorry, but LINUX_HEADERS_DIR is only defined when the internal
Thomas> toolchain backend is used, so I guess this is broken for external
Thomas> toolchain or ct-ng toolchain builds.
Thomas> bridge-utils, busybox and iptables are already using LINUX_HEADERS_DIR,
Thomas> but I guess this needs some work as well.
Ah yes, what should we do for external toolchains then - point
LINUX_HEADERS_DIR at $(STAGING_DIR)/usr/include/linux?
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list