<div dir="ltr"><div>Is the LIC_FILES_CHKSUM correct? Doesn&#39;t match here:</div><div><br></div><div><br></div><div>nativesdk-icecc-toolchain/0.1-r0/icecc-env.sh;beginline=2;en</div><div>dline=20;md5=aafdb7bc2aa7ac5d039fda0c8733983c</div><div>nativesdk-icecc-toolchain: The new md5 checksum is dd6b68c1efed8a9fb04e409b3b287d47</div><div>nativesdk-icecc-toolchain: Here is the selected license text:</div><div>vvvvvvvvvvvvvvvvvvvvvvvvvvvv beginline=2 vvvvvvvvvvvvvvvvvvvvvvvvvvvvv</div><div># Copyright (c) 2018 Joshua Watt, Garmin International,Inc.</div><div>#</div><div># Permission is hereby granted, free of charge, to any person obtaining a copy</div><div># of this software and associated documentation files (the &quot;Software&quot;), to deal</div><div># in the Software without restriction, including without limitation the rights</div><div># to use, copy, modify, merge, publish, distribute, sublicense, and/or sell</div><div># copies of the Software, and to permit persons to whom the Software is</div><div># furnished to do so, subject to the following conditions:</div><div>#</div><div># The above copyright notice and this permission notice shall be included in</div><div># all copies or substantial portions of the Software.</div><div>#</div><div># THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</div><div># IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</div><div># FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</div><div># AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</div><div># LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</div><div># OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</div><div># SOFTWARE.</div><div>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ endline=20 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 11:01 PM, Joshua Watt <span dir="ltr">&lt;<a href="mailto:jpewhacker@gmail.com" target="_blank">jpewhacker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">IceCream can now be optionally included in the generated SDK by<br>
including nativesdk-icecc-toolchain to TOOLCHAIN_HOST_TASK. When the SDK<br>
is installed, it will check if icecc exists, and if so will generate the<br>
toolchain environment.<br>
<br>
Signed-off-by: Joshua Watt &lt;<a href="mailto:JPEWhacker@gmail.com">JPEWhacker@gmail.com</a>&gt;<br>
---<br>
 .../icecc-toolchain/icecc-<wbr>toolchain/icecc-env.sh   | 37 +++++++++++++++++++<br>
 .../icecc-toolchain/icecc-<wbr>toolchain/icecc-setup.sh | 43 ++++++++++++++++++++++<br>
 .../<a href="http://nativesdk-icecc-toolchain_0.1.bb" rel="noreferrer" target="_blank">nativesdk-icecc-toolchain_<wbr>0.1.bb</a>               | 38 +++++++++++++++++++<br>
 3 files changed, 118 insertions(+)<br>
 create mode 100644 meta/recipes-devtools/icecc-<wbr>toolchain/icecc-toolchain/<wbr>icecc-env.sh<br>
 create mode 100644 meta/recipes-devtools/icecc-<wbr>toolchain/icecc-toolchain/<wbr>icecc-setup.sh<br>
 create mode 100644 meta/recipes-devtools/icecc-<wbr>toolchain/<a href="http://nativesdk-icecc-toolchain_0.1.bb" rel="noreferrer" target="_blank">nativesdk-icecc-<wbr>toolchain_0.1.bb</a><br>
<br>
diff --git a/meta/recipes-devtools/icecc-<wbr>toolchain/icecc-toolchain/<wbr>icecc-env.sh b/meta/recipes-devtools/icecc-<wbr>toolchain/icecc-toolchain/<wbr>icecc-env.sh<br>
new file mode 100644<br>
index 00000000000..4c34edbbc5d<br>
--- /dev/null<br>
+++ b/meta/recipes-devtools/icecc-<wbr>toolchain/icecc-toolchain/<wbr>icecc-env.sh<br>
@@ -0,0 +1,37 @@<br>
+#! /bin/sh<br>
+# Copyright 2018 Garmin Ltd. or its subsidiaries<br>
+#<br>
+# Permission is hereby granted, free of charge, to any person obtaining a copy<br>
+# of this software and associated documentation files (the &quot;Software&quot;), to deal<br>
+# in the Software without restriction, including without limitation the rights<br>
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br>
+# copies of the Software, and to permit persons to whom the Software is<br>
+# furnished to do so, subject to the following conditions:<br>
+#<br>
+# The above copyright notice and this permission notice shall be included in<br>
+# all copies or substantial portions of the Software.<br>
+#<br>
+# THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br>
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br>
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<br>
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br>
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<br>
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE<br>
+# SOFTWARE.<br>
+#<br>
+<br>
+if [ -z &quot;$ICECC_PATH&quot; ]; then<br>
+    ICECC_PATH=$(which icecc 2&gt; /dev/null)<br>
+fi<br>
+<br>
+if [ -n &quot;$ICECC_PATH&quot; ]; then<br>
+    export ICECC_PATH<br>
+    export ICECC_VERSION=&quot;$OECORE_NATIVE_<wbr>SYSROOT/usr/share/icecream/@<wbr>TOOLCHAIN_ENV@&quot;<br>
+    export ICECC=&quot;$(which ${CROSS_COMPILE}gcc)&quot;<br>
+    export ICECXX=&quot;$(which ${CROSS_COMPILE}g++)&quot;<br>
+    export ICEAS=&quot;$(which ${CROSS_COMPILE}as)&quot;<br>
+    export PATH=&quot;$OECORE_NATIVE_SYSROOT/<wbr>usr/share/icecream/bin:$PATH&quot;<br>
+else<br>
+    echo &quot;Icecc not found. Disabling distributed compiling&quot;<br>
+fi<br>
+<br>
diff --git a/meta/recipes-devtools/icecc-<wbr>toolchain/icecc-toolchain/<wbr>icecc-setup.sh b/meta/recipes-devtools/icecc-<wbr>toolchain/icecc-toolchain/<wbr>icecc-setup.sh<br>
new file mode 100644<br>
index 00000000000..a433e55b029<br>
--- /dev/null<br>
+++ b/meta/recipes-devtools/icecc-<wbr>toolchain/icecc-toolchain/<wbr>icecc-setup.sh<br>
@@ -0,0 +1,43 @@<br>
+#! /bin/sh<br>
+# Copyright 2018 Garmin Ltd. or its subsidiaries<br>
+#<br>
+# Permission is hereby granted, free of charge, to any person obtaining a copy<br>
+# of this software and associated documentation files (the &quot;Software&quot;), to deal<br>
+# in the Software without restriction, including without limitation the rights<br>
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br>
+# copies of the Software, and to permit persons to whom the Software is<br>
+# furnished to do so, subject to the following conditions:<br>
+#<br>
+# The above copyright notice and this permission notice shall be included in<br>
+# all copies or substantial portions of the Software.<br>
+#<br>
+# THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br>
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br>
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<br>
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br>
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<br>
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE<br>
+# SOFTWARE.<br>
+#<br>
+<br>
+# Setup environment<br>
+for env_setup_script in `ls $1/environment-setup-*`; do<br>
+       . $env_setup_script<br>
+done<br>
+<br>
+# ICECC_PATH will have been found icecc-env.sh<br>
+if [ -z &quot;$ICECC_PATH&quot; ]; then<br>
+    exit 0<br>
+fi<br>
+<br>
+echo &quot;Setting up IceCream distributed compiling...&quot;<br>
+<br>
+# Create the environment<br>
+mkdir -p &quot;`dirname $ICECC_VERSION`&quot;<br>
+icecc-create-env $ICECC $ICECXX $ICEAS $ICECC_VERSION || exit $?<br>
+<br>
+# Create symbolic links<br>
+d=&quot;$OECORE_NATIVE_SYSROOT/<wbr>usr/share/icecream/bin&quot;<br>
+mkdir -p &quot;$d&quot;<br>
+ln -s &quot;$ICECC_PATH&quot; &quot;$d/${CROSS_COMPILE}gcc&quot;<br>
+ln -s &quot;$ICECC_PATH&quot; &quot;$d/${CROSS_COMPILE}g++&quot;<br>
diff --git a/meta/recipes-devtools/icecc-<wbr>toolchain/<a href="http://nativesdk-icecc-toolchain_0.1.bb" rel="noreferrer" target="_blank">nativesdk-icecc-<wbr>toolchain_0.1.bb</a> b/meta/recipes-devtools/icecc-<wbr>toolchain/<a href="http://nativesdk-icecc-toolchain_0.1.bb" rel="noreferrer" target="_blank">nativesdk-icecc-<wbr>toolchain_0.1.bb</a><br>
new file mode 100644<br>
index 00000000000..28b2924ebfb<br>
--- /dev/null<br>
+++ b/meta/recipes-devtools/icecc-<wbr>toolchain/<a href="http://nativesdk-icecc-toolchain_0.1.bb" rel="noreferrer" target="_blank">nativesdk-icecc-<wbr>toolchain_0.1.bb</a><br>
@@ -0,0 +1,38 @@<br>
+# Copyright (C) 2018 Joshua Watt &lt;<a href="mailto:JPEWhacker@gmail.com">JPEWhacker@gmail.com</a>&gt;<br>
+# Released under the MIT license (see COPYING.MIT for the terms)<br>
+DESCRIPTION = &quot;Generates IceCream toolchains for SDKs&quot;<br>
+LICENSE = &quot;MIT&quot;<br>
+LIC_FILES_CHKSUM = &quot;file://${WORKDIR}/icecc-env.<wbr>sh;beginline=2;endline=20;md5=<wbr>aafdb7bc2aa7ac5d039fda0c873398<wbr>3c&quot;<br>
+<br>
+INHIBIT_DEFAULT_DEPS = &quot;1&quot;<br>
+<br>
+SRC_URI = &quot;\<br>
+    file://icecc-env.sh \<br>
+    file://icecc-setup.sh \<br>
+    &quot;<br>
+<br>
+inherit nativesdk<br>
+<br>
+ENV_NAME=&quot;${DISTRO}-${TCLIBC}<wbr>-${SDK_ARCH}-${TUNE_PKGARCH}-$<wbr>{DISTRO_VERSION}.tar.gz&quot;<br>
+<br>
+do_compile() {<br>
+}<br>
+<br>
+do_install() {<br>
+    install -d ${D}${SDKPATHNATIVE}${datadir}<wbr>/icecream/bin<br>
+<br>
+    install -d ${D}${SDKPATHNATIVE}/<wbr>environment-setup.d/<br>
+    install -m 0644 ${WORKDIR}/icecc-env.sh ${D}${SDKPATHNATIVE}/<wbr>environment-setup.d/<br>
+    sed -i ${D}${SDKPATHNATIVE}/<wbr>environment-setup.d/icecc-env.<wbr>sh \<br>
+        -e &quot;s,@TOOLCHAIN_ENV@,${ENV_NAME}<wbr>,g&quot;<br>
+<br>
+    install -d ${D}${SDKPATHNATIVE}/post-<wbr>relocate-setup.d/<br>
+    install -m 0755 ${WORKDIR}/icecc-setup.sh ${D}${SDKPATHNATIVE}/post-<wbr>relocate-setup.d/<br>
+    sed -i ${D}${SDKPATHNATIVE}/post-<wbr>relocate-setup.d/icecc-setup.<wbr>sh \<br>
+        -e &quot;s,@TOOLCHAIN_ENV@,${ENV_NAME}<wbr>,g&quot;<br>
+}<br>
+<br>
+PACKAGES = &quot;${PN}&quot;<br>
+FILES_${PN} = &quot;${SDKPATHNATIVE}&quot;<br>
+RDEPENDS_${PN} += &quot;nativesdk-icecc-create-env&quot;<br>
+<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.14.3<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>