mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
toolchain-scripts.bbclass: Export M4
some packages use M4 variable from environment and sometimes its hardcoded to /usr/bin/m4 if not found in environment. Lets define it such that it is picked from path (From OE-Core rev: 06c5593d15f206458b9a5b45ed1229abfee16e95) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
be11294d17
commit
6676fb5e32
|
|
@ -26,6 +26,7 @@ toolchain_create_sdk_env_script () {
|
|||
echo 'export OBJDUMP=${TARGET_PREFIX}objdump' >> $script
|
||||
echo 'export AR=${TARGET_PREFIX}ar' >> $script
|
||||
echo 'export NM=${TARGET_PREFIX}nm' >> $script
|
||||
echo 'export M4=m4' >> $script
|
||||
echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script
|
||||
echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${SDK_ARCH}-linux --with-libtool-sysroot=${SDKTARGETSYSROOT}"' >> $script
|
||||
if [ "${TARGET_OS}" = "darwin8" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user