summaryrefslogtreecommitdiff
path: root/targets/buildtarget
diff options
context:
space:
mode:
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