diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2018-02-12 10:52:09 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-16 18:05:38 +0000 |
commit | 502ee8e86338f5eb462aafb211543accb6e830f2 (patch) | |
tree | 128cb7ad8a3d1a81adea2ed732b51b6b8b2344a9 | |
parent | c129cbe1b88d5d497a55af3c66d5541133484a09 (diff) | |
download | poky-502ee8e86338f5eb462aafb211543accb6e830f2.tar.gz |
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
(From OE-Core rev: dea45ac88251b22b0b74dc4b3ba6ca13fe0b86d6)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/icecc.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
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() { | |||
346 | do_install_prepend() { | 346 | do_install_prepend() { |
347 | set_icecc_env | 347 | set_icecc_env |
348 | } | 348 | } |
349 | |||
350 | # IceCream is not (currently) supported in the extensible SDK | ||
351 | ICECC_SDK_HOST_TASK = "nativesdk-icecc-toolchain" | ||
352 | ICECC_SDK_HOST_TASK_task-populate-sdk-ext = "" | ||
353 | |||
354 | # Add the toolchain scripts to the SDK | ||
355 | TOOLCHAIN_HOST_TASK_append = " ${ICECC_SDK_HOST_TASK}" | ||