summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2019-01-28 08:55:00 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-28 23:14:10 +0000
commit3c34a844fca8cd999d04cddae1415589e29f3bff (patch)
tree6dbf84769aeab7cc2f4a317817e8ca9f41e93de3 /meta
parentb38554767b2083470640d06f7b6c221ee3cca66b (diff)
downloadpoky-3c34a844fca8cd999d04cddae1415589e29f3bff.tar.gz
classes/icecc: Add ICECC_REMOTE_CPP variable
Newer versions of Icecream (1.2) add support for remotely pre-processing files, controllable with the ICECC_REMOTE_CPP environment variable. (From OE-Core rev: 8fe6728536bbee814c421afbbaa2022e0da0f65c) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/icecc.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 0d6ee55c15..aebcc44667 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -34,6 +34,7 @@ BB_HASHBASE_WHITELIST += "ICECC_PARALLEL_MAKE ICECC_DISABLED ICECC_USER_PACKAGE_
34 ICECC_DEBUG ICECC_LOGFILE ICECC_REPEAT_RATE ICECC_PREFERRED_HOST \ 34 ICECC_DEBUG ICECC_LOGFILE ICECC_REPEAT_RATE ICECC_PREFERRED_HOST \
35 ICECC_CLANG_REMOTE_CPP ICECC_IGNORE_UNVERIFIED ICECC_TEST_SOCKET \ 35 ICECC_CLANG_REMOTE_CPP ICECC_IGNORE_UNVERIFIED ICECC_TEST_SOCKET \
36 ICECC_ENV_DEBUG ICECC_SYSTEM_PACKAGE_BL ICECC_SYSTEM_CLASS_BL \ 36 ICECC_ENV_DEBUG ICECC_SYSTEM_PACKAGE_BL ICECC_SYSTEM_CLASS_BL \
37 ICECC_REMOTE_CPP \
37 " 38 "
38 39
39ICECC_ENV_EXEC ?= "${STAGING_BINDIR_NATIVE}/icecc-create-env" 40ICECC_ENV_EXEC ?= "${STAGING_BINDIR_NATIVE}/icecc-create-env"
@@ -56,6 +57,8 @@ ICECC_ENV_VERSION = "2"
56# See: https://github.com/icecc/icecream/issues/190 57# See: https://github.com/icecc/icecream/issues/190
57export ICECC_CARET_WORKAROUND ??= "0" 58export ICECC_CARET_WORKAROUND ??= "0"
58 59
60export ICECC_REMOTE_CPP ??= "1"
61
59ICECC_CFLAGS = "" 62ICECC_CFLAGS = ""
60CFLAGS += "${ICECC_CFLAGS}" 63CFLAGS += "${ICECC_CFLAGS}"
61CXXFLAGS += "${ICECC_CFLAGS}" 64CXXFLAGS += "${ICECC_CFLAGS}"