Files
meta-external-toolchain/recipes-sdk/external-script/nativesdk-external-script.bb
Christopher Larson 5ce0b68788 Use --no-sysroot-suffix
With this, we can avoid the need to create a symlink for the multilib sysroot
suffix. This also adds a nativesdk package to the sdk to adjust the
environment setup there to use it as well.

JIRA: SB-6018

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-10-07 12:56:19 -07:00

14 lines
470 B
BlitzBasic

SUMMARY = "Adjustments to the SDK environment for an external toolchain."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://external.sh"
inherit nativesdk
do_install () {
install -d "${D}${SDKPATHNATIVE}/environment-setup.d"
install -m 0644 -o root -g root "${WORKDIR}/external.sh" "${D}${SDKPATHNATIVE}/environment-setup.d/"
}
FILES_${PN} += "${SDKPATHNATIVE}/environment-setup.d/*"