mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-04 15:04:37 +02:00
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>
14 lines
470 B
BlitzBasic
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/*"
|