summaryrefslogtreecommitdiff
path: root/targets/buildtarget
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2003-09-08 15:01:19 +0000
committerStefan Reinauer <stepan@openbios.org>2003-09-08 15:01:19 +0000
commitdad60489d5dcce58ad6b99f5bc6becc1d4fc7660 (patch)
tree86c3e533a78d782c54af74ab2172db3e3061e69b /targets/buildtarget
parent9714894d4f6505e3c49fdb93bc1e7520861a2996 (diff)
automatically build config.py if it's not there.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1104 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets/buildtarget')
-rwxr-xr-xtargets/buildtarget9
1 files changed, 7 insertions, 2 deletions
diff --git a/targets/buildtarget b/targets/buildtarget
index 7c7dc626d3..273a26bab2 100755
--- a/targets/buildtarget
+++ b/targets/buildtarget
@@ -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