summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-04-24 21:09:52 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-26 10:09:08 +0100
commit0734405c9a61e0e16623356b3f9d452b3f51392c (patch)
treef86c9c701cd6e1c1243c04b33edc8b0fa4d725a1 /meta/classes
parentdc9379add2756e47bf27d133e8271bc5b4602833 (diff)
downloadpoky-0734405c9a61e0e16623356b3f9d452b3f51392c.tar.gz
Use the best xz compression for the SDK
It saves 23% space for me, and decompression time is also shorter. Compression time and xz memory usage should be less of a worry for the SDK. (From OE-Core rev: 353d93ead899a479fc6bc3625edc87269a891d39) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/populate_sdk_base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index ebc30d39b3..efaa5b99e9 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -226,7 +226,7 @@ fakeroot tar_sdk() {
226 # Package it up 226 # Package it up
227 mkdir -p ${SDKDEPLOYDIR} 227 mkdir -p ${SDKDEPLOYDIR}
228 cd ${SDK_OUTPUT}/${SDKPATH} 228 cd ${SDK_OUTPUT}/${SDKPATH}
229 tar ${SDKTAROPTS} -cf - . | xz ${XZ_DEFAULTS} > ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.tar.xz 229 tar ${SDKTAROPTS} -cf - . | xz -9 ${XZ_DEFAULTS} > ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.tar.xz
230} 230}
231 231
232TOOLCHAIN_SHAR_EXT_TMPL ?= "${COREBASE}/meta/files/toolchain-shar-extract.sh" 232TOOLCHAIN_SHAR_EXT_TMPL ?= "${COREBASE}/meta/files/toolchain-shar-extract.sh"