<p>Arthur Heymans has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/23676">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">util/abuild: Allow use of payloads when not providing a configfile<br><br>This only worked if a configfile is provided.<br><br>Change-Id: I4368d9609bceb4cf7edb76c10bc0af0cdeb76958<br>Signed-off-by: Arthur Heymans <arthur@aheymans.xyz><br>---<br>M util/abuild/abuild<br>1 file changed, 3 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/23676/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 91c5bf9..e2cad28 100755</span><br><span>--- a/util/abuild/abuild</span><br><span>+++ b/util/abuild/abuild</span><br><span>@@ -292,13 +292,15 @@</span><br><span> </span><br><span>    if [ -z "$config_file" ]; then</span><br><span>             create_config "$BUILD_NAME" "$build_dir"</span><br><span style="color: hsl(120, 100%, 40%);">+          local new_config_file="${build_dir}/config.build"</span><br><span>  else</span><br><span>                 local new_config_file="${build_dir}/config.build"</span><br><span>          cp "$config_file" "$new_config_file"</span><br><span style="color: hsl(0, 100%, 40%);">-                update_config "$BUILD_NAME" "$build_dir" "$new_config_file"</span><br><span>    fi</span><br><span>   local ret=$?</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+      update_config "$BUILD_NAME" "$build_dir" "$new_config_file"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>  # Allow simple "make" in the target directory</span><br><span>      local MAKEFILE=$TARGET/${BUILD_NAME}/Makefile</span><br><span>        echo "# autogenerated" > "$MAKEFILE"</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/23676">change 23676</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/23676"/><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: I4368d9609bceb4cf7edb76c10bc0af0cdeb76958 </div>
<div style="display:none"> Gerrit-Change-Number: 23676 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz> </div>