summaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-07-23 21:30:29 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-07-23 21:30:29 +0000
commit5261d05f59f4239f578b064c29571925cf796135 (patch)
tree8f8973e7490558909ead344d046108c841fabb96 /targets
parent3bb83b8a00f61bd22a9949baacc4f6ef3efab2a3 (diff)
downloadcoreboot-5261d05f59f4239f578b064c29571925cf796135.tar.xz
build parser before configuring
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1014 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets')
-rwxr-xr-xtargets/buildtarget7
1 files changed, 6 insertions, 1 deletions
diff --git a/targets/buildtarget b/targets/buildtarget
index f519fd36b7..7c7dc626d3 100755
--- a/targets/buildtarget
+++ b/targets/buildtarget
@@ -16,7 +16,8 @@ fi
target_dir=$lbpath/targets
config_lb=$1/Config.lb
-config_py=$lbpath/util/newconfig/config.py
+config_dir=$lbpath/util/newconfig
+config_py=$config_dir/config.py
if [ ! -d $target_dir ]; then
echo "Target directory not found"
@@ -35,6 +36,10 @@ if [ ! -f $config_py ]; then
exit 1
fi
+# make sure config.py is up-to-date
+
+(cd $config_dir && make config.py)
+
python $config_py $config_lb $lbpath
exit $?