diff options
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 11a2f84c18..75e65f2db0 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass | |||
@@ -27,6 +27,7 @@ toolchain_create_sdk_env_script () { | |||
27 | echo "alias opkg='LD_LIBRARY_PATH=${SDKPATHNATIVE}${libdir_nativesdk} ${SDKPATHNATIVE}${bindir_nativesdk}/opkg-cl -f ${SDKPATHNATIVE}/${sysconfdir}/opkg-sdk.conf -o ${SDKPATHNATIVE}'" >> $script | 27 | echo "alias opkg='LD_LIBRARY_PATH=${SDKPATHNATIVE}${libdir_nativesdk} ${SDKPATHNATIVE}${bindir_nativesdk}/opkg-cl -f ${SDKPATHNATIVE}/${sysconfdir}/opkg-sdk.conf -o ${SDKPATHNATIVE}'" >> $script |
28 | echo "alias opkg-target='LD_LIBRARY_PATH=${SDKPATHNATIVE}${libdir_nativesdk} ${SDKPATHNATIVE}${bindir_nativesdk}/opkg-cl -f ${SDKTARGETSYSROOT}${sysconfdir}/opkg.conf -o ${SDKTARGETSYSROOT}'" >> $script | 28 | echo "alias opkg-target='LD_LIBRARY_PATH=${SDKPATHNATIVE}${libdir_nativesdk} ${SDKPATHNATIVE}${bindir_nativesdk}/opkg-cl -f ${SDKTARGETSYSROOT}${sysconfdir}/opkg.conf -o ${SDKTARGETSYSROOT}'" >> $script |
29 | echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script | 29 | echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script |
30 | echo 'export POKY_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script | ||
30 | echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script | 31 | echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script |
31 | } | 32 | } |
32 | 33 | ||
@@ -57,4 +58,5 @@ toolchain_create_tree_env_script () { | |||
57 | echo 'export CFLAGS="${TARGET_CC_ARCH}"' >> $script | 58 | echo 'export CFLAGS="${TARGET_CC_ARCH}"' >> $script |
58 | echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script | 59 | echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script |
59 | echo 'export POKY_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script | 60 | echo 'export POKY_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script |
61 | echo 'export POKY_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script | ||
60 | } | 62 | } |