diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-03-31 13:56:30 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-31 23:04:35 +0100 |
commit | 82e73eee94b80b62471202f61b837681fb96db86 (patch) | |
tree | 571662747da99ca70a4dc45e6fea859561faaedb /meta | |
parent | 3746a51f469bba3de921d9696aea672191f1ebbb (diff) | |
download | poky-82e73eee94b80b62471202f61b837681fb96db86.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc index 3f27afa4c9..b18d09fd6c 100644 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | |||
@@ -41,7 +41,9 @@ python __anonymous () { | |||
41 | 41 | ||
42 | inherit kernel-arch | 42 | inherit kernel-arch |
43 | 43 | ||
44 | SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.bz2" | 44 | KORG_ARCHIVE_COMPRESSION ?= "bz2" |
45 | |||
46 | SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.${KORG_ARCHIVE_COMPRESSION}" | ||
45 | 47 | ||
46 | S = "${WORKDIR}/linux-${PV}" | 48 | S = "${WORKDIR}/linux-${PV}" |
47 | 49 | ||