]> code.ossystems Code Review - openembedded-core.git/commit
icecc: don't create unnecessary 'ice' dirs in sysroots when disabled
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 11 Apr 2014 15:07:39 +0000 (17:07 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Apr 2014 10:41:03 +0000 (11:41 +0100)
commitc3e8bfe30685e2357a6eb3ba8f4a014c7dc9f58e
tree9e0c7a744388813dfab76aee4143e75c6a3c5a10
parent33c7892326de296cc6d143577be5b395ac887d91
icecc: don't create unnecessary 'ice' dirs in sysroots when disabled

* parsing ICE_PATH="${@icc_path(bb, d)}" causes "ice" directories
  to be created in every sysroot, that could be a bit confusing for
  people who inherit icecc.bbclass, but disabled it
* shorten ICECC_VERSION="${@icc_version(bb, d)}" path a bit
  by returning sooner when disabled
* remove ICECC_PATH and ICECC_ENV_EXEC from signatures, we assume that
  using icecc doesn't influence the output, so it shouldn't matter when
  user supplies own version of icecc or env script
* always compare ICECC_DISABLED with "1", boolean typed_value isn't used
  because documentation already mentions using empty value to keep icecc
  enabled and that's not valid boolean value when oe.data.typed_value is
  used:
  ERROR: ICECC_DISABLED: Invalid boolean value ''

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/icecc.bbclass