Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/27095
Change subject: util/abuild: Fix building when not in coreboot root dir ......................................................................
util/abuild: Fix building when not in coreboot root dir
Change-Id: Ibe54096f275a05bda745ae2cc76c0109281c0c4b Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M util/abuild/abuild 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/27095/1
diff --git a/util/abuild/abuild b/util/abuild/abuild index d8f4882..28e0eb6 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -454,7 +454,7 @@ required_arches=$(egrep "^CONFIG_ARCH_(BOOTBLOCK|R.MSTAGE|VERSTAGE)" "$TARGET/${BUILD_NAME}/config.build" | \ sed "s,^CONFIG_ARCH_[^_]*_([^=]*)=.*$,\1," |sort -u |tr 'A-Z\n\r' 'a-z ') # shellcheck disable=SC2016,SC2059 - missing_arches=$(printf 'include .xcompile\nall: ; @echo $(foreach arch,'"$required_arches"',$(if $(filter $(arch),$(SUBARCH_SUPPORTED)),,$(arch)))' | make --no-print-directory -f -) + missing_arches=$(printf 'include .xcompile\nall: ; @echo $(foreach arch,'"$required_arches"',$(if $(filter $(arch),$(SUBARCH_SUPPORTED)),,$(arch)))' | $MAKE --no-print-directory -f -) if [ -n "$missing_arches" ]; then printf "skipping %s because we're missing compilers for (%s)\n" "$BUILD_NAME" "$missing_arches" return @@ -696,7 +696,7 @@ clean_work=true ;; -o|--outdir) shift - TARGET=$1; shift + TARGET=$1; MAKE="$MAKE -C $1"; shift ;; -x|--chromeos) shift chromeos=true