summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_ipk.bbclass
diff options
context:
space:
mode:
authorAlejandro del Castillo <alejandro.delcastillo@ni.com>2018-12-26 17:59:06 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-27 22:50:00 +0000
commitb288f4e825a036b9cc15b27301d264fe695dba65 (patch)
tree267fa88836c3b4166fe0ae616f811c885bf8364e /meta/classes/package_ipk.bbclass
parent19ac60adbfc9c3ea1896e7e0d83f3b33438c092b (diff)
downloadopenembedded-core-contrib-b288f4e825a036b9cc15b27301d264fe695dba65.tar.gz
package_ip.bbclass: add xz threading
Before, threading was enabled via a patch to opkg-build. Now that opkg-build provides a hook for extra arguments, use that. Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r--meta/classes/package_ipk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 5eb910ca318..508b7dcaff4 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -8,7 +8,7 @@ IPKGCONF_SDK = "${WORKDIR}/opkg-sdk.conf"
PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks"
# Program to be used to build opkg packages
-OPKGBUILDCMD ??= "opkg-build -Z xz"
+OPKGBUILDCMD ??= 'opkg-build -Z xz -a "--threads 0"'
OPKG_ARGS += "--force_postinstall --prefer-arch-to-version"
OPKG_ARGS += "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS") == "1"]}"