diff options
author | Douglas Royds <douglas.royds@taitradio.com> | 2021-05-26 12:27:43 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-28 06:41:02 +0100 |
commit | 07ce33a7f48044c1ccb34a4f5f15c59d877b719b (patch) | |
tree | 7bd75c45b20ae80ca64b6b62013c1d182eefdd0d /meta | |
parent | 3f34312b5627f8c53bbc81cc7d5a33a397356c3d (diff) | |
download | poky-07ce33a7f48044c1ccb34a4f5f15c59d877b719b.tar.gz |
icecc: Demote "could not get ICECC_CC" warning to note
For many components, it is perfectly correct not to have gcc or g++ in
the PATH, notably when INHIBIT_DEFAULT_DEPS is set.
We were getting a flood of warnings when icecc was enabled, eg:
WARNING: base-files-3.0.14-r89.tait.8.6 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: base-files-3.0.14-r89.tait.8.6 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: base-files-3.0.14-r89.tait.8.6 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: busybox-inittab-1.33.0-r0 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: busybox-inittab-1.33.0-r0 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: busybox-inittab-1.33.0-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: linux-libc-headers-3.14-r0 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: linux-libc-headers-3.14-r0 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: linux-libc-headers-3.14-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
Demote this message to a "NOTE".
It still appears in log.do_configure and friends:
NOTE: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
(From OE-Core rev: 720254152ca57c19acf1f156d47fd47af0afa20d)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/icecc.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 0dde960e7a..80943fcf02 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass | |||
@@ -358,7 +358,7 @@ set_icecc_env() { | |||
358 | ICECC_WHICH_AS="${@bb.utils.which(os.getenv('PATH'), 'as')}" | 358 | ICECC_WHICH_AS="${@bb.utils.which(os.getenv('PATH'), 'as')}" |
359 | if [ ! -x "${ICECC_CC}" -o ! -x "${ICECC_CXX}" ] | 359 | if [ ! -x "${ICECC_CC}" -o ! -x "${ICECC_CXX}" ] |
360 | then | 360 | then |
361 | bbwarn "Cannot use icecc: could not get ICECC_CC or ICECC_CXX" | 361 | bbnote "Cannot use icecc: could not get ICECC_CC or ICECC_CXX" |
362 | return | 362 | return |
363 | fi | 363 | fi |
364 | 364 | ||