]> code.ossystems Code Review - openembedded-core.git/commit
busybox.inc: handle empty DEBUG_PREFIX_MAP
authorMikko Rapeli <mikko.rapeli@bmw.de>
Mon, 16 Sep 2019 07:16:16 +0000 (10:16 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Sep 2019 10:47:44 +0000 (11:47 +0100)
commit20f1a454317ddff8a2e321c1fe55d086ff6fa286
tree8be4a068cac1589d59451d0ac984dc9d72efeb61
parent24174c6dafefec4ff3bd79b3c871b17cbfa3e840
busybox.inc: handle empty DEBUG_PREFIX_MAP

DEBUG_PREFIX_MAP can be empty if e.g. old clang
toolchain doesn't support the default poky values for gcc.

Fixes build failure:

ERROR: Logfile of failure stored in: /home/builder/src/base/build/tmp/work/aarch64-poky-linux/busybox/1.31.0-r
0/temp/log.do_configure.14451
Log data follows:
| DEBUG: Executing shell function do_configure
| sed: -e expression #1, char 0: no previous regular expression
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/builder/src/base/build/tmp/work/aarch64-poky-linux/busybox/1.31.0-r0/temp/run.do_configure.14451' failed with exit code 1:
| sed: -e expression #1, char 0: no previous regular expression
| WARNING: exit code 1 from a shell command.
|

This log entry is really useless for debugging problems so
add "set -x" to the configure script so that details can be seen
if something isn't working.

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox.inc