[coreboot] [commit] r6324 - trunk/util/abuild

repository service svn at coreboot.org
Tue Feb 1 11:42:52 CET 2011


Author: oxygene
Date: Tue Feb  1 11:42:52 2011
New Revision: 6324
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6324

Log:
Fix using custom build configs in abuild

The undocumented config argument for the -t option implicitly assumes
the config file is within the mainboard directory but fails to honor
this assumption when it comes to copying the file.

Signed-off-by: Mathias Krause <mathias.krause at secunet.com>
Acked-by: Patrick Georgi <patrick.georgi at secunet.com>

Modified:
   trunk/util/abuild/abuild

Modified: trunk/util/abuild/abuild
==============================================================================
--- trunk/util/abuild/abuild	Mon Jan 31 22:16:48 2011	(r6323)
+++ trunk/util/abuild/abuild	Tue Feb  1 11:42:52 2011	(r6324)
@@ -161,7 +161,7 @@
 	if [ "$CONFIG" != "" ]; then
 		printf "  Using existing configuration $CONFIG ... "
 		xml "  <config>$CONFIG</config>"
-		cp $CONFIG ${build_dir}/config.build
+		cp src/mainboard/$VENDOR/$MAINBOARD/$CONFIG ${build_dir}/config.build
 	else
 		printf "  Creating config file... "
 		xml "  <config>autogenerated</config>"




More information about the coreboot mailing list