<p>Arthur Heymans has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27095">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">util/abuild: Fix building when not in coreboot root dir<br><br>Change-Id: Ibe54096f275a05bda745ae2cc76c0109281c0c4b<br>Signed-off-by: Arthur Heymans <arthur@aheymans.xyz><br>---<br>M util/abuild/abuild<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/27095/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/util/abuild/abuild b/util/abuild/abuild</span><br><span>index d8f4882..28e0eb6 100755</span><br><span>--- a/util/abuild/abuild</span><br><span>+++ b/util/abuild/abuild</span><br><span>@@ -454,7 +454,7 @@</span><br><span>     required_arches=$(egrep "^CONFIG_ARCH_(BOOTBLOCK|R.MSTAGE|VERSTAGE)" "$TARGET/${BUILD_NAME}/config.build" | \</span><br><span>                    sed "s,^CONFIG_ARCH_[^_]*_\([^=]*\)=.*$,\1," |sort -u |tr 'A-Z\n\r' 'a-z  ')</span><br><span>       # shellcheck disable=SC2016,SC2059</span><br><span style="color: hsl(0, 100%, 40%);">-      missing_arches=$(printf 'include .xcompile\nall: ; @echo $(foreach arch,'"$required_arches"',$(if $(filter $(arch),$(SUBARCH_SUPPORTED)),,$(arch)))' | make --no-print-directory -f -)</span><br><span style="color: hsl(120, 100%, 40%);">+      missing_arches=$(printf 'include .xcompile\nall: ; @echo $(foreach arch,'"$required_arches"',$(if $(filter $(arch),$(SUBARCH_SUPPORTED)),,$(arch)))' | $MAKE --no-print-directory -f -)</span><br><span>    if [ -n "$missing_arches" ]; then</span><br><span>          printf "skipping %s because we're missing compilers for (%s)\n" "$BUILD_NAME" "$missing_arches"</span><br><span>            return</span><br><span>@@ -696,7 +696,7 @@</span><br><span>                         clean_work=true</span><br><span>                      ;;</span><br><span>           -o|--outdir)    shift</span><br><span style="color: hsl(0, 100%, 40%);">-                   TARGET=$1; shift</span><br><span style="color: hsl(120, 100%, 40%);">+                      TARGET=$1; MAKE="$MAKE -C $1"; shift</span><br><span>                       ;;</span><br><span>           -x|--chromeos)  shift</span><br><span>                        chromeos=true</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27095">change 27095</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/27095"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ibe54096f275a05bda745ae2cc76c0109281c0c4b </div>
<div style="display:none"> Gerrit-Change-Number: 27095 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz> </div>