build parser before configuring

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1014 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2003-07-23 21:30:29 +00:00
parent 3bb83b8a00
commit 5261d05f59
1 changed files with 6 additions and 1 deletions

View File

@ -16,7 +16,8 @@ fi
target_dir=$lbpath/targets target_dir=$lbpath/targets
config_lb=$1/Config.lb 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 if [ ! -d $target_dir ]; then
echo "Target directory not found" echo "Target directory not found"
@ -35,6 +36,10 @@ if [ ! -f $config_py ]; then
exit 1 exit 1
fi fi
# make sure config.py is up-to-date
(cd $config_dir && make config.py)
python $config_py $config_lb $lbpath python $config_py $config_lb $lbpath
exit $? exit $?