summaryrefslogtreecommitdiff
path: root/targets/buildtarget
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2003-10-13 20:07:42 +0000
committerEric Biederman <ebiederm@xmission.com>2003-10-13 20:07:42 +0000
commitfb3e1edc0003f0f56954ab4f82fe4a290ff9bdb9 (patch)
tree4bb41c13fd1e9ed7cb464dfa0ad28eafb60ee8f1 /targets/buildtarget
parentf3f7c9e655d9ec8cd44bbffbd33b56f3e47764e2 (diff)
downloadcoreboot-fb3e1edc0003f0f56954ab4f82fe4a290ff9bdb9.tar.xz
Carefully select the directory for config.py
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1214 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets/buildtarget')
-rwxr-xr-xtargets/buildtarget3
1 files changed, 1 insertions, 2 deletions
diff --git a/targets/buildtarget b/targets/buildtarget
index a72cbf7997..f90e040084 100755
--- a/targets/buildtarget
+++ b/targets/buildtarget
@@ -36,8 +36,7 @@ if [ ! -f $config_lb ]; then
exit 1
fi
-target_subdir=`sed -n -e 's/^target \(.*\)$/\1/p' $config_lb`
-target_subdir=`dirname $config_lb`/$target_subdir
+target_subdir=$target_dir/`sed -n -e 's/^target \(.*\)$/\1/p' $config_lb`
config_py=$target_subdir/config.py
if [ ! -d $target_subdir ] ; then