summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2014-05-17 21:50:06 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-19 14:56:52 +0200
commit246234fecb439cc7c9cee6616fe1b33c4d37a582 (patch)
tree7bed70dea8f668772c62b11b4eef82dcde03bba0
parentc86762657dc7013a56b1d281286789dae17ad936 (diff)
downloadcoreboot-246234fecb439cc7c9cee6616fe1b33c4d37a582.tar.xz
abuild: Only build boards with Kconfig
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 <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/5776 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rwxr-xr-xutil/abuild/abuild4
1 files changed, 2 insertions, 2 deletions
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