diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2019-01-28 08:55:00 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-28 23:14:10 +0000 |
commit | 3c34a844fca8cd999d04cddae1415589e29f3bff (patch) | |
tree | 6dbf84769aeab7cc2f4a317817e8ca9f41e93de3 /meta/classes/icecc.bbclass | |
parent | b38554767b2083470640d06f7b6c221ee3cca66b (diff) | |
download | poky-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/classes/icecc.bbclass')
-rw-r--r-- | meta/classes/icecc.bbclass | 3 |
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 | ||
39 | ICECC_ENV_EXEC ?= "${STAGING_BINDIR_NATIVE}/icecc-create-env" | 40 | ICECC_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 |
57 | export ICECC_CARET_WORKAROUND ??= "0" | 58 | export ICECC_CARET_WORKAROUND ??= "0" |
58 | 59 | ||
60 | export ICECC_REMOTE_CPP ??= "1" | ||
61 | |||
59 | ICECC_CFLAGS = "" | 62 | ICECC_CFLAGS = "" |
60 | CFLAGS += "${ICECC_CFLAGS}" | 63 | CFLAGS += "${ICECC_CFLAGS}" |
61 | CXXFLAGS += "${ICECC_CFLAGS}" | 64 | CXXFLAGS += "${ICECC_CFLAGS}" |