mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 12:32:13 +02:00
Recipes are much more readable with whitespace around the assignment operators. Fix various assignments in OE-Core to show this is definitely the preferred formatting. (From OE-Core rev: 30ea609d3357fb3de911f2f6a5e6856c151b976a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
40 lines
1.2 KiB
BlitzBasic
40 lines
1.2 KiB
BlitzBasic
# Copyright (c) 2018 Joshua Watt, Garmin International,Inc.
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
SUMMARY = "Generates Icecream toolchain for SDK"
|
|
DESCRIPTION = "${SUMMARY}"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/icecc-env.sh;beginline=2;endline=20;md5=dd6b68c1efed8a9fb04e409b3b287d47"
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
SRC_URI = "\
|
|
file://icecc-env.sh \
|
|
file://icecc-setup.sh \
|
|
"
|
|
|
|
inherit nativesdk
|
|
|
|
ENV_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-@TARGET_PREFIX@${DISTRO_VERSION}.tar.gz"
|
|
|
|
do_compile() {
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${SDKPATHNATIVE}${datadir}/icecream/bin
|
|
|
|
install -d ${D}${SDKPATHNATIVE}/environment-setup.d/
|
|
install -m 0644 ${UNPACKDIR}/icecc-env.sh ${D}${SDKPATHNATIVE}/environment-setup.d/
|
|
sed -i ${D}${SDKPATHNATIVE}/environment-setup.d/icecc-env.sh \
|
|
-e 's,@TOOLCHAIN_ENV@,${ENV_NAME},g'
|
|
|
|
install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d/
|
|
install -m 0755 ${UNPACKDIR}/icecc-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d/
|
|
sed -i ${D}${SDKPATHNATIVE}/post-relocate-setup.d/icecc-setup.sh \
|
|
-e 's,@TOOLCHAIN_ENV@,${ENV_NAME},g'
|
|
}
|
|
|
|
PACKAGES = "${PN}"
|
|
FILES:${PN} = "${SDKPATHNATIVE}"
|
|
RDEPENDS:${PN} += "nativesdk-icecc-create-env"
|
|
|