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
This commit is contained in:
parent
aeead274a1
commit
478b77d388
|
@ -161,7 +161,7 @@ function create_config
|
||||||
if [ "$CONFIG" != "" ]; then
|
if [ "$CONFIG" != "" ]; then
|
||||||
printf " Using existing configuration $CONFIG ... "
|
printf " Using existing configuration $CONFIG ... "
|
||||||
xml " <config>$CONFIG</config>"
|
xml " <config>$CONFIG</config>"
|
||||||
cp $CONFIG ${build_dir}/config.build
|
cp src/mainboard/$VENDOR/$MAINBOARD/$CONFIG ${build_dir}/config.build
|
||||||
else
|
else
|
||||||
printf " Creating config file... "
|
printf " Creating config file... "
|
||||||
xml " <config>autogenerated</config>"
|
xml " <config>autogenerated</config>"
|
||||||
|
|
Loading…
Reference in New Issue