diff options
author | Ross Burton <ross.burton@intel.com> | 2018-04-09 16:17:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-13 16:58:06 +0100 |
commit | 8b50dfcecf5947a615e5e7abf26ef0b78d655a59 (patch) | |
tree | f3986281c0db42d3cb0495254dac1413fdd38975 /meta/classes/populate_sdk_base.bbclass | |
parent | a559ffab30b7b45849ace023808c1fb20811d43d (diff) | |
download | poky-8b50dfcecf5947a615e5e7abf26ef0b78d655a59.tar.gz |
populate_sdk_base: use xz -T instead of pixz
xz has native support for threaded compression now and SDK creation was the only
part of oe-core which is using pixz instead of xz.
Not only does this remove pixz-native from the SDK dependencies, but in my
limited testing xz -T0 is slightly faster and produces smaller archives than
pixz for the same input.
(From OE-Core rev: ce1cfa57d9828c0898f52e736f671ce8db534031)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-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 3560ef143c..3da350747e 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -46,7 +46,7 @@ TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= "" | |||
46 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}" | 46 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}" |
47 | 47 | ||
48 | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" | 48 | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" |
49 | SDK_DEPENDS = "virtual/fakeroot-native pixz-native cross-localedef-native ${MLPREFIX}qemuwrapper-cross" | 49 | SDK_DEPENDS = "virtual/fakeroot-native xz-native cross-localedef-native ${MLPREFIX}qemuwrapper-cross" |
50 | SDK_DEPENDS_append_libc-glibc = " nativesdk-glibc-locale" | 50 | SDK_DEPENDS_append_libc-glibc = " nativesdk-glibc-locale" |
51 | 51 | ||
52 | # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it | 52 | # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it |
@@ -225,7 +225,7 @@ fakeroot tar_sdk() { | |||
225 | # Package it up | 225 | # Package it up |
226 | mkdir -p ${SDKDEPLOYDIR} | 226 | mkdir -p ${SDKDEPLOYDIR} |
227 | cd ${SDK_OUTPUT}/${SDKPATH} | 227 | cd ${SDK_OUTPUT}/${SDKPATH} |
228 | tar ${SDKTAROPTS} -cf - . | pixz > ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.tar.xz | 228 | tar ${SDKTAROPTS} -cf - . | xz -T 0 > ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.tar.xz |
229 | } | 229 | } |
230 | 230 | ||
231 | fakeroot create_shar() { | 231 | fakeroot create_shar() { |