mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-06-21 08:52:27 +02:00
Switch nativesdk-external-script to target
This alters the vars for the cross-compiler, not the build tools, so this is most appropriate, and is one less thing to have in TOOLCHAIN_HOST_TASK. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
@@ -51,7 +51,7 @@ PREFERRED_PROVIDER_libgcc = "libgcc-external"
|
||||
PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers-external"
|
||||
|
||||
# Support use of an external toolchain with the SDK/ADE/etc
|
||||
TOOLCHAIN_HOST_TASK_append = " nativesdk-external-script"
|
||||
TOOLCHAIN_TARGET_TASK_append = " sdk-env-external-toolchain"
|
||||
|
||||
# Pull in our utility functions for use elsewhere
|
||||
INHERIT += "external-common"
|
||||
|
||||
@@ -4,11 +4,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
|
||||
SRC_URI = "file://external.sh"
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
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/"
|
||||
install -d "${D}/environment-setup.d"
|
||||
install -m 0644 -o root -g root "${WORKDIR}/external.sh" "${D}/environment-setup.d/"
|
||||
}
|
||||
|
||||
FILES_${PN} += "${SDKPATHNATIVE}/environment-setup.d/*"
|
||||
FILES_${PN} += "/environment-setup.d/*"
|
||||
Reference in New Issue
Block a user