<p>Martin Roth has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26596">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">util/docker: Attach docker-build-coreboot target to top level make<br><br>This allows users to build coreboot targets inside the coreboot-sdk<br>docker container.<br><br>Change-Id: I587b7d3cfce490c0b5b71928d90fbc1f4037d002<br>Signed-off-by: Martin Roth <martinroth@google.com><br>---<br>M Makefile<br>M Makefile.inc<br>A util/docker/Makefile.inc<br>3 files changed, 28 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/96/26596/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Makefile b/Makefile</span><br><span>index 4aa179d..951f723 100644</span><br><span>--- a/Makefile</span><br><span>+++ b/Makefile</span><br><span>@@ -130,6 +130,7 @@</span><br><span> include $(TOPLEVEL)/Makefile.inc</span><br><span> include $(TOPLEVEL)/payloads/Makefile.inc</span><br><span> include $(TOPLEVEL)/util/testing/Makefile.inc</span><br><span style="color: hsl(120, 100%, 40%);">+include $(TOPLEVEL)/util/docker/Makefile.inc</span><br><span> -include $(TOPLEVEL)/site-local/Makefile.inc</span><br><span> real-all:</span><br><span>    @echo "Error: Expected config file ($(DOTCONFIG)) not present." >&2</span><br><span>diff --git a/Makefile.inc b/Makefile.inc</span><br><span>index ec086b9..e156a38 100644</span><br><span>--- a/Makefile.inc</span><br><span>+++ b/Makefile.inc</span><br><span>@@ -100,7 +100,7 @@</span><br><span> subdirs-y += payloads payloads/external</span><br><span> </span><br><span> subdirs-y += site-local</span><br><span style="color: hsl(0, 100%, 40%);">-subdirs-y += util/checklist util/testing</span><br><span style="color: hsl(120, 100%, 40%);">+subdirs-y += util/checklist util/testing util/docker</span><br><span> </span><br><span> #######################################################################</span><br><span> # Add source classes and their build options</span><br><span>diff --git a/util/docker/Makefile.inc b/util/docker/Makefile.inc</span><br><span>new file mode 100644</span><br><span>index 0000000..133aec5</span><br><span>--- /dev/null</span><br><span>+++ b/util/docker/Makefile.inc</span><br><span>@@ -0,0 +1,26 @@</span><br><span style="color: hsl(120, 100%, 40%);">+##</span><br><span style="color: hsl(120, 100%, 40%);">+## This file is part of the coreboot project.</span><br><span style="color: hsl(120, 100%, 40%);">+##</span><br><span style="color: hsl(120, 100%, 40%);">+## Copyright (C) 2016 Google, Inc.</span><br><span style="color: hsl(120, 100%, 40%);">+##</span><br><span style="color: hsl(120, 100%, 40%);">+## This program is free software; you can redistribute it and/or modify</span><br><span style="color: hsl(120, 100%, 40%);">+## it under the terms of the GNU General Public License as published by</span><br><span style="color: hsl(120, 100%, 40%);">+## the Free Software Foundation; version 2 of the License.</span><br><span style="color: hsl(120, 100%, 40%);">+##</span><br><span style="color: hsl(120, 100%, 40%);">+## This program is distributed in the hope that it will be useful,</span><br><span style="color: hsl(120, 100%, 40%);">+## but WITHOUT ANY WARRANTY; without even the implied warranty of</span><br><span style="color: hsl(120, 100%, 40%);">+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span><br><span style="color: hsl(120, 100%, 40%);">+## GNU General Public License for more details.</span><br><span style="color: hsl(120, 100%, 40%);">+##</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+DOCKER_DIR = $(top)/util/docker</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+help-docker help::</span><br><span style="color: hsl(120, 100%, 40%);">+ @echo  '*** Docker targets ***'</span><br><span style="color: hsl(120, 100%, 40%);">+       @echo  '  docker-build-coreboot  - Run coreboot build under coreboot-sdk docker image.'</span><br><span style="color: hsl(120, 100%, 40%);">+       @echo  '    Set the BUILD_CMD="target var=val" variable to build different targets.'</span><br><span style="color: hsl(120, 100%, 40%);">+        @echo  '      Example:  make docker-build-coreboot BUILD_CMD="test-basic V=1"'</span><br><span style="color: hsl(120, 100%, 40%);">+      @echo</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+docker-build-coreboot:</span><br><span style="color: hsl(120, 100%, 40%);">+       $(MAKE) -C $(DOCKER_DIR) docker-build-coreboot</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26596">change 26596</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/26596"/><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: I587b7d3cfce490c0b5b71928d90fbc1f4037d002 </div>
<div style="display:none"> Gerrit-Change-Number: 26596 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Martin Roth <martinroth@google.com> </div>