From: Joshua Watt Date: Mon, 12 Feb 2018 16:52:09 +0000 (-0600) Subject: icecc.bbclass: Add Icecream support to SDK X-Git-Tag: uninative-1.8~381 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=dea45ac88251b22b0b74dc4b3ba6ca13fe0b86d6;p=openembedded-core.git icecc.bbclass: Add Icecream support to SDK If icecc is inherited, generated SDKs will automatically have optional support for compiling using the Icecream distributed compiler Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie --- diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 9d5eaed57c..8492ece60c 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass @@ -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}"