U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] MAKEALL, buildman: run genboardscfg.py to make sure boards.cfg is new
@ 2014-08-22  5:33 Masahiro Yamada
  2014-08-22  5:33 ` [U-Boot] [PATCH 1/2] MAKEALL: run genboardscfg.py all the time Masahiro Yamada
  2014-08-22  5:33 ` [U-Boot] [PATCH 2/2] buildman: " Masahiro Yamada
  0 siblings, 2 replies; 6+ messages in thread
From: Masahiro Yamada @ 2014-08-22  5:33 UTC (permalink / raw)
  To: u-boot


This series depends on the feature introduced by this commit:
http://patchwork.ozlabs.org/patch/381622/



Masahiro Yamada (2):
  MAKEALL: run genboardscfg.py all the time
  buildman: run genboardscfg.py all the time

 MAKEALL                   | 11 ++++-------
 tools/buildman/control.py | 10 ++++------
 2 files changed, 8 insertions(+), 13 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH 1/2] MAKEALL: run genboardscfg.py all the time
  2014-08-22  5:33 [U-Boot] [PATCH 0/2] MAKEALL, buildman: run genboardscfg.py to make sure boards.cfg is new Masahiro Yamada
@ 2014-08-22  5:33 ` Masahiro Yamada
  2014-08-29 14:40   ` [U-Boot] [U-Boot, " Tom Rini
  2014-08-22  5:33 ` [U-Boot] [PATCH 2/2] buildman: " Masahiro Yamada
  1 sibling, 1 reply; 6+ messages in thread
From: Masahiro Yamada @ 2014-08-22  5:33 UTC (permalink / raw)
  To: u-boot

This commit makes sure boards.cfg is up to date before starting
the build tests.  tools/genboardscfg.py exits immediately printing
"boards.cfg is up to date. Nothing to do." when boards.cfg is
already new.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 MAKEALL | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/MAKEALL b/MAKEALL
index 2e826c1..4822054 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -171,13 +171,10 @@ GNU_MAKE=$(scripts/show-gnu-make) || {
 # echo "Remaining arguments:"
 # for arg do echo '--> '"\`$arg'" ; done
 
-if [ ! -r boards.cfg ]; then
-	echo "Could not find boards.cfg"
-	tools/genboardscfg.py || {
-		echo "Failed to generate boards.cfg" >&2
-		exit 1
-	}
-fi
+tools/genboardscfg.py || {
+	echo "Failed to generate boards.cfg" >&2
+	exit 1
+}
 
 FILTER="\$1 !~ /^#/"
 [ "$opt_a" ] && FILTER="${FILTER} && $opt_a"
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH 2/2] buildman: run genboardscfg.py all the time
  2014-08-22  5:33 [U-Boot] [PATCH 0/2] MAKEALL, buildman: run genboardscfg.py to make sure boards.cfg is new Masahiro Yamada
  2014-08-22  5:33 ` [U-Boot] [PATCH 1/2] MAKEALL: run genboardscfg.py all the time Masahiro Yamada
@ 2014-08-22  5:33 ` Masahiro Yamada
  2014-08-23  1:49   ` Simon Glass
  2014-08-29 14:40   ` [U-Boot] [U-Boot, " Tom Rini
  1 sibling, 2 replies; 6+ messages in thread
From: Masahiro Yamada @ 2014-08-22  5:33 UTC (permalink / raw)
  To: u-boot

This commit makes sure boards.cfg is up to date before starting
the build tests.  tools/genboardscfg.py exits immediately printing
"boards.cfg is up to date. Nothing to do." when boards.cfg is
already new.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 tools/buildman/control.py | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index d98e50a..68ea961 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -120,12 +120,10 @@ def DoBuildman(options, args):
 
     # Work out what subset of the boards we are building
     board_file = os.path.join(options.git, 'boards.cfg')
-    if not os.path.exists(board_file):
-        print 'Could not find %s' % board_file
-        status = subprocess.call([os.path.join(options.git,
-                                               'tools/genboardscfg.py')])
-        if status != 0:
-            sys.exit("Failed to generate boards.cfg")
+    status = subprocess.call([os.path.join(options.git,
+                                           'tools/genboardscfg.py')])
+    if status != 0:
+        sys.exit("Failed to generate boards.cfg")
 
     boards = board.Boards()
     boards.ReadBoards(os.path.join(options.git, 'boards.cfg'))
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH 2/2] buildman: run genboardscfg.py all the time
  2014-08-22  5:33 ` [U-Boot] [PATCH 2/2] buildman: " Masahiro Yamada
@ 2014-08-23  1:49   ` Simon Glass
  2014-08-29 14:40   ` [U-Boot] [U-Boot, " Tom Rini
  1 sibling, 0 replies; 6+ messages in thread
From: Simon Glass @ 2014-08-23  1:49 UTC (permalink / raw)
  To: u-boot

On 21 August 2014 23:33, Masahiro Yamada <yamada.m@jp.panasonic.com> wrote:
> This commit makes sure boards.cfg is up to date before starting
> the build tests.  tools/genboardscfg.py exits immediately printing
> "boards.cfg is up to date. Nothing to do." when boards.cfg is
> already new.
>
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Acked-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [U-Boot, 1/2] MAKEALL: run genboardscfg.py all the time
  2014-08-22  5:33 ` [U-Boot] [PATCH 1/2] MAKEALL: run genboardscfg.py all the time Masahiro Yamada
@ 2014-08-29 14:40   ` Tom Rini
  0 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2014-08-29 14:40 UTC (permalink / raw)
  To: u-boot

On Fri, Aug 22, 2014 at 02:33:40PM +0900, Masahiro Yamada wrote:

> This commit makes sure boards.cfg is up to date before starting
> the build tests.  tools/genboardscfg.py exits immediately printing
> "boards.cfg is up to date. Nothing to do." when boards.cfg is
> already new.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140829/2bfa5fb0/attachment.pgp>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [U-Boot, 2/2] buildman: run genboardscfg.py all the time
  2014-08-22  5:33 ` [U-Boot] [PATCH 2/2] buildman: " Masahiro Yamada
  2014-08-23  1:49   ` Simon Glass
@ 2014-08-29 14:40   ` Tom Rini
  1 sibling, 0 replies; 6+ messages in thread
From: Tom Rini @ 2014-08-29 14:40 UTC (permalink / raw)
  To: u-boot

On Fri, Aug 22, 2014 at 02:33:41PM +0900, Masahiro Yamada wrote:

> This commit makes sure boards.cfg is up to date before starting
> the build tests.  tools/genboardscfg.py exits immediately printing
> "boards.cfg is up to date. Nothing to do." when boards.cfg is
> already new.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140829/d51cfee2/attachment.pgp>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-29 14:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-22  5:33 [U-Boot] [PATCH 0/2] MAKEALL, buildman: run genboardscfg.py to make sure boards.cfg is new Masahiro Yamada
2014-08-22  5:33 ` [U-Boot] [PATCH 1/2] MAKEALL: run genboardscfg.py all the time Masahiro Yamada
2014-08-29 14:40   ` [U-Boot] [U-Boot, " Tom Rini
2014-08-22  5:33 ` [U-Boot] [PATCH 2/2] buildman: " Masahiro Yamada
2014-08-23  1:49   ` Simon Glass
2014-08-29 14:40   ` [U-Boot] [U-Boot, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox