]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-libc-headers: make compression format configurable
authorBruce Ashfield <bruce.ashfield@windriver.com>
Mon, 31 Mar 2014 17:56:30 +0000 (13:56 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 31 Mar 2014 21:57:50 +0000 (22:57 +0100)
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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc

index 3f27afa4c9222e1ab5b7bb34f078e8c46d364e8f..b18d09fd6c3ee8c35a2e7b8378aa5988e4817df8 100644 (file)
@@ -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}"