Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/54060 )
Change subject: util/crossgcc: Avoid complex filename sets ......................................................................
util/crossgcc: Avoid complex filename sets
For some reasons I didn't want to debug further my shell doesn't accept bin/{foo,bar,baz} and complains about a missing file. Instead, cd into the directory and list the files individually.
Change-Id: I042b2e45fded1b63551d8e65ead2a7bbbf96b1e7 Signed-off-by: Patrick Georgi pgeorgi@google.com --- M util/crossgcc/buildgcc 1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/54060/1
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index e2c633f..fc7883e 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -844,8 +844,9 @@ HOST="$HOST" CFLAGS="$CFLAGS" \ OPT_CFLAGS="-O -D_FORTIFY_SOURCE=2 -D COREBOOT_TOOLCHAIN_VERSION='"coreboot toolchain v$CROSSGCC_VERSION"' " \ $MAKE $JOBS CC="$(hostcc host)" iasl acpibin acpidump acpiexec acpihelp acpisrc acpixtract - rm -f "$DESTDIR$TARGETDIR/bin/{iasl,acpibin,acpidump,acpiexec,acpihelp,acpisrc,acpixtract}" || touch "$RDIR/.failed" - cp bin/{iasl,acpibin,acpidump,acpiexec,acpihelp,acpisrc,acpixtract} "$DESTDIR$TARGETDIR/bin" || touch "$RDIR/.failed" + mkdir -p "$DESTDIR$TARGETDIR/bin/" + (cd "$DESTDIR$TARGETDIR/bin" && rm -f iasl acpibin acpidump acpiexec acpihelp acpisrc acpixtract) || touch "$RDIR/.failed" + (cd bin && cp iasl acpibin acpidump acpiexec acpihelp acpisrc acpixtract "$DESTDIR$TARGETDIR/bin") || touch "$RDIR/.failed" }
build_LLVM() {