]> code.ossystems Code Review - openembedded-core.git/commitdiff
icecc.bbclass: Add Icecream support to SDK
authorJoshua Watt <jpewhacker@gmail.com>
Mon, 12 Feb 2018 16:52:09 +0000 (10:52 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Feb 2018 13:24:10 +0000 (13:24 +0000)
If icecc is inherited, generated SDKs will automatically have optional
support for compiling using the Icecream distributed compiler

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/icecc.bbclass

index 9d5eaed57ce7552a44ecfd96309367d31f7927e6..8492ece60c34b121d2af4f2a5e755abcfa5a9b82 100644 (file)
@@ -346,3 +346,10 @@ do_compile_kernelmodules_prepend() {
 do_install_prepend() {
     set_icecc_env
 }
+
+# IceCream is not (currently) supported in the extensible SDK
+ICECC_SDK_HOST_TASK = "nativesdk-icecc-toolchain"
+ICECC_SDK_HOST_TASK_task-populate-sdk-ext = ""
+
+# Add the toolchain scripts to the SDK
+TOOLCHAIN_HOST_TASK_append = " ${ICECC_SDK_HOST_TASK}"