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.kra...@secunet.com>
Acked-by: Patrick Georgi <patrick.geo...@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>"

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to