[OE-core] [PATCH 3/3 v2] package_ip.bbclass: add xz threading
Khem Raj
raj.khem at gmail.com
Fri Dec 28 17:09:51 UTC 2018
On 12/28/18 8:27 AM, Alejandro del Castillo wrote:
> 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>
> ---
> 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 5eb910ca31..acc8245ffb 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"]}"
>
thanks for addressing this.
More information about the Openembedded-core
mailing list