[oe-commits] [openembedded-core] 04/15: package_ip.bbclass: add xz threading

git at git.openembedded.org git at git.openembedded.org
Thu Dec 27 22:53:49 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit b288f4e825a036b9cc15b27301d264fe695dba65
Author: Alejandro del Castillo <alejandro.delcastillo at ni.com>
AuthorDate: Wed Dec 26 17:59:06 2018 -0600

    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 at ni.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/package_ipk.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 5eb910c..508b7dc 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"]}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list