[coreboot-gerrit] New patch to review for coreboot: bce7f46 abuild: Only build boards with Kconfig
Patrick Georgi (patrick@georgi-clan.de)
gerrit at coreboot.org
Sat May 17 21:52:36 CEST 2014
Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5776
-gerrit
commit bce7f46160bf3e8ea87934b15df9fad43e3ae3e9
Author: Patrick Georgi <patrick at georgi-clan.de>
Date: Sat May 17 21:50:06 2014 +0200
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 at georgi-clan.de>
---
util/abuild/abuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/abuild/abuild b/util/abuild/abuild
index d4ee752..85b6406 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
More information about the coreboot-gerrit
mailing list