- Correct the logic in buildtarget to match the logic in config.g for select which
directory to build in. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1216 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
ad1b35a12b
commit
34323b52e3
|
@ -36,8 +36,9 @@ if [ ! -f $config_lb ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
target_subdir=$target_dir/`sed -n -e 's/^target \(.*\)$/\1/p' $config_lb`
|
build_dir=`dirname $config_lb`/`sed -n -e 's/^target \(.*\)$/\1/p' $config_lb`
|
||||||
config_py=$target_subdir/config.py
|
echo $build_dir
|
||||||
|
config_py=$build_dir/config.py
|
||||||
|
|
||||||
if [ ! -d $target_subdir ] ; then
|
if [ ! -d $target_subdir ] ; then
|
||||||
mkdir -p $target_subdir
|
mkdir -p $target_subdir
|
||||||
|
|
Loading…
Reference in New Issue