From 246234fecb439cc7c9cee6616fe1b33c4d37a582 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 17 May 2014 21:50:06 +0200 Subject: abuild: Only build boards with Kconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We have dupes in the tree for aliases, board variants and the like, for board-status reporting purposes. But we don't need to build all of them. Change-Id: Ic1c6415568800350bdc0db97471e3875d9eac98c Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/5776 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- util/abuild/abuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/abuild/abuild b/util/abuild/abuild index d4ee752cb0..85b6406ef8 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -113,7 +113,7 @@ function vendors { # make this a function so we can easily select # without breaking readability - ls -1 "$ROOT/src/mainboard" | grep -v Kconfig | grep -v Makefile + ls -1 $ROOT/src/mainboard/*/Kconfig 2>/dev/null | sed "s:^$ROOT/src/mainboard/\(.*\)/Kconfig$:\1:" } function mainboards @@ -123,7 +123,7 @@ function mainboards VENDOR=$1 - ls -1 $ROOT/src/mainboard/$VENDOR | grep -v Kconfig + ls -1 $ROOT/src/mainboard/$VENDOR/*/Kconfig 2>/dev/null | sed "s:^$ROOT/src/mainboard/$VENDOR/\(.*\)/Kconfig$:\1:" } function architecture -- cgit v1.2.3