build parser before configuring
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1014 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
3bb83b8a00
commit
5261d05f59
|
@ -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 $?
|
||||||
|
|
Loading…
Reference in New Issue