diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-22 13:06:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:34 +0000 |
commit | 861c91667d5e6d8d9d6dde8159d4ca28dc82a2cd (patch) | |
tree | 693160def1841a51faf85734f21588aca6eb85e2 /meta/classes | |
parent | a1c35f302d0c5a708501dc56a5260741e118fb90 (diff) | |
download | poky-861c91667d5e6d8d9d6dde8159d4ca28dc82a2cd.tar.gz |
populate_sdk: Use pixz instead of xz
xz is slow at compressing the SDKs, we can speed it up by using the
parallel compressor, pixz.
(From OE-Core rev: f4ec14b986fee791da33b8900c28c956f17b28b0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 966161f824..cc211ab430 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -40,7 +40,7 @@ TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= "" | |||
40 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}" | 40 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}" |
41 | 41 | ||
42 | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" | 42 | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" |
43 | SDK_DEPENDS = "virtual/fakeroot-native xz-native" | 43 | SDK_DEPENDS = "virtual/fakeroot-native pixz-native" |
44 | 44 | ||
45 | # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it | 45 | # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it |
46 | # could be set to the MACHINE_ARCH | 46 | # could be set to the MACHINE_ARCH |
@@ -181,7 +181,7 @@ fakeroot tar_sdk() { | |||
181 | # Package it up | 181 | # Package it up |
182 | mkdir -p ${SDK_DEPLOY} | 182 | mkdir -p ${SDK_DEPLOY} |
183 | cd ${SDK_OUTPUT}/${SDKPATH} | 183 | cd ${SDK_OUTPUT}/${SDKPATH} |
184 | tar ${SDKTAROPTS} -cf - . | xz > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.xz | 184 | tar ${SDKTAROPTS} -cf - . | pixz > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.xz |
185 | } | 185 | } |
186 | 186 | ||
187 | fakeroot create_shar() { | 187 | fakeroot create_shar() { |