automatically build config.py if it's not there.
authorStefan Reinauer <stepan@openbios.org>
Mon, 8 Sep 2003 15:01:19 +0000 (15:01 +0000)
committerStefan Reinauer <stepan@openbios.org>
Mon, 8 Sep 2003 15:01:19 +0000 (15:01 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1104 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

targets/buildtarget

index 7c7dc626d3ad055d69f5d6f56a64e6b68068176d..273a26bab2c894f7197d6c7a4e4ee92b7082118f 100755 (executable)
@@ -32,8 +32,13 @@ if [ ! -f $config_lb ]; then
 fi
 
 if [ ! -f $config_py ]; then
-       echo "No linuxbios config file found"
-       exit 1
+       echo "No linuxbios config script found. Rebuilding it.."
+       ( 
+         cd $config_dir 
+         make config.py
+       )
+       echo "done."
+       # exit 1
 fi
 
 # make sure config.py is up-to-date