]> 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)
committerSaul Wold <sgw@linux.intel.com>
Fri, 23 May 2014 16:09:38 +0000 (09:09 -0700)
commit41aeb447de70b5fb3e1d0ef4aa90376ad5caef4c
treed53240a027364b61947d3e73f9086b8bd4cb128c
parent103a270d2c094c810faf3bbafb2a429ee08e22f7
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 ''

(From OE-Core rev: c3e8bfe30685e2357a6eb3ba8f4a014c7dc9f58e)

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