ping
--------------------------------------------------
Zheng Ruoqin
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
Nanjing, 210012, China
MAIL : [email protected]
> -----Original Message-----
> From: Zheng, Ruoqin/郑 若钦
> Sent: Saturday, April 13, 2019 10:37 PM
> To: [email protected]
> Cc: Zheng, Ruoqin/郑 若钦 <[email protected]>
> Subject: [OE-core][PATCH] toolchain-scripts: make rpm work in toolchain
>
> Rpm need to read the arch info, but $script did not provide it, so add it.
>
> Signed-off-by: Zheng Ruoqin <[email protected]>
> ---
> meta/classes/toolchain-scripts.bbclass | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-
> scripts.bbclass
> index 1a2ec4f..de50b7e 100644
> --- a/meta/classes/toolchain-scripts.bbclass
> +++ b/meta/classes/toolchain-scripts.bbclass
> @@ -101,6 +101,7 @@ toolchain_shared_env_script () {
> echo 'export CPPFLAGS="${TARGET_CPPFLAGS}"' >> $script
> echo 'export KCFLAGS="--sysroot=$SDKTARGETSYSROOT"' >> $script
> echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >>
> $script
> + echo 'export MACHINE_ARCH=${MACHINE_ARCH}' >> $script
> echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
> echo 'export ARCH=${ARCH}' >> $script
> echo 'export CROSS_COMPILE=${TARGET_PREFIX}' >> $script
> --
> 1.8.3.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core