From 5261d05f59f4239f578b064c29571925cf796135 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Wed, 23 Jul 2003 21:30:29 +0000 Subject: build parser before configuring git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1014 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- targets/buildtarget | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'targets/buildtarget') 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 $? -- cgit v1.2.3