diff options
author | Alejandro del Castillo <alejandro.delcastillo@ni.com> | 2018-12-26 17:59:06 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-27 22:52:58 +0000 |
commit | 46c9a322301b2cc195ac04ea82c8059ce4cd4367 (patch) | |
tree | 6f1e53e244a95e1c483722bcbf3d3729c8c036fd /meta/classes | |
parent | 5bcb626cf49d2295ccca45d6fc7e1617cca932d6 (diff) | |
download | poky-46c9a322301b2cc195ac04ea82c8059ce4cd4367.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.
(From OE-Core rev: b288f4e825a036b9cc15b27301d264fe695dba65)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 5eb910ca31..508b7dcaff 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -8,7 +8,7 @@ IPKGCONF_SDK = "${WORKDIR}/opkg-sdk.conf" | |||
8 | PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks" | 8 | PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks" |
9 | 9 | ||
10 | # Program to be used to build opkg packages | 10 | # Program to be used to build opkg packages |
11 | OPKGBUILDCMD ??= "opkg-build -Z xz" | 11 | OPKGBUILDCMD ??= 'opkg-build -Z xz -a "--threads 0"' |
12 | 12 | ||
13 | OPKG_ARGS += "--force_postinstall --prefer-arch-to-version" | 13 | OPKG_ARGS += "--force_postinstall --prefer-arch-to-version" |
14 | OPKG_ARGS += "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS") == "1"]}" | 14 | OPKG_ARGS += "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS") == "1"]}" |