[Buildroot] [PATCH] iptables: fix build after linux-headers changes

Peter Korsgaard jacmet at uclibc.org
Sun Jul 7 19:36:55 UTC 2013

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 Thomas> As reported by 'scanf' on IRC, the iptables now fails to build
 Thomas> because of a missing <asm/cache.h> header in the kernel
 Thomas> headers. The package directly uses $(LINUX_HEADERS_DIR), which
 Thomas> is not correct: this is the source directory of the kernel, not
 Thomas> where they are installed, and in addition, this directory is
 Thomas> empty/does not exist when using external toolchains.

 Thomas> Instead, we use $(STAGING_DIR)/usr, which contains the kernel
 Thomas> headers, as part of the toolchain headers.

Committed, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list