]> code.ossystems Code Review - openembedded-core.git/commit
icecc.bbclass: replace deprecated bash command substitution
authorJose Quaresma <quaresma.jose@gmail.com>
Mon, 7 Feb 2022 01:08:07 +0000 (01:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Feb 2022 14:19:33 +0000 (14:19 +0000)
commitb4e3983f38af5a5484b33de43449ae85b7e4f104
treeb70259fdde9fa376244971f90f3084a9ea74b115
parente13e657dabcabd97f50794e7375777ef5ad883c8
icecc.bbclass: replace deprecated bash command substitution

- build some packages with icecc enabled is not supported
  because of the folling that disables the icecc:

  DEBUG: while parsing set_icecc_env, unable to handle non-literal command '$ICECC_CC'

- it can be replicated with:

 bitbake make && bitbake make -c cleansstate && bitbake make -DD
 grep ICECC_CC tmp/log/cooker/qemux86-64/console-latest.log

- bash command substitution backquote deprecated

 https://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html
 https://mywiki.wooledge.org/BashFAQ/082

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/icecc.bbclass