linux-libc-headers: make compression format configurable

As of the 3.13 kernel bz2 compressed tarballs are not available. To support
older header tarballs, and newer ones that require the 'xz' compressed
bundles, we can break out a variable that allows versioned libc headers to
select the archive format that works.

(From OE-Core rev: 116228fceca7fc2a7b557133b1f8f28f41af1ee5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bruce Ashfield authored and Richard Purdie committed 2014-03-31 23:04:35 +01:00
1 parent 3746a51f46
commit 82e73eee94
1 file changed
+3 -1
@@ -41,7 +41,9 @@ python __anonymous () {
inherit kernel-arch
SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.bz2"
KORG_ARCHIVE_COMPRESSION ?= "bz2"
SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.${KORG_ARCHIVE_COMPRESSION}"
S = "${WORKDIR}/linux-${PV}"