[Buildroot] [PATCH 1/1] tcpdump, libpcap: simplify and fix ac_cv_linux_vers

Peter Korsgaard jacmet at uclibc.org
Tue Jan 25 15:23:44 UTC 2011


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

 Thomas> For some reason, tcpdump and libpcap need to have some information
 Thomas> about the kernel version being used. This information is passed using
 Thomas> the ac_cv_linux_vers autoconf variable.

 Thomas> However, the current value is determined using
 Thomas> BR2_DEFAULT_KERNEL_HEADERS which is only defined when an internal
 Thomas> Buildroot toolchain is used. So it would break with an external
 Thomas> toolchain or the Crosstool-NG backend.

 Thomas> According to Mike Frysinger at
 Thomas> http://lists.busybox.net/pipermail/buildroot/2011-January/040861.html,
 Thomas> this value is only used to determine if the kernel version is 0.x, 1.x
 Thomas> or 2.x, so passing ac_cv_linux_vers=2 is sufficient since Buildroot
 Thomas> only supports the 2.6 kernel anyway.

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list