summaryrefslogtreecommitdiff
path: root/util/abuild
diff options
context:
space:
mode:
authorMathias Krause <mathias.krause@secunet.com>2011-02-01 10:42:52 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-02-01 10:42:52 +0000
commit478b77d3884f8c1ca54144380a417ba7a73162ea (patch)
tree445f8b70b3d5c32539a3fa37f0226125fdaf4a2e /util/abuild
parentaeead274a105058a6eb84e41cf6d8a32662a3e2c (diff)
downloadcoreboot-478b77d3884f8c1ca54144380a417ba7a73162ea.tar.xz
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@secunet.com> Acked-by: Patrick Georgi <patrick.georgi@secunet.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6324 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/abuild')
-rwxr-xr-xutil/abuild/abuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 365bacd2e7..2040709cd7 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -161,7 +161,7 @@ function create_config
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>"