buildtarget - building config.py automatically

Stefan Reinauer stepan at suse.de
Mon Sep 8 09:28:00 CEST 2003


Hi,

I changed the buildtarget script so that it builds the config.py
script automatically when it's not there (i.e. fresh checkout).
It gets rebuild already if it's there but not current.

Anything speaking against committing applied patch?

  Stefan

-- 
Architecture Team
    SuSE Linux AG
-------------- next part --------------
Index: buildtarget
===================================================================
RCS file: /cvsroot/freebios/freebios2/targets/buildtarget,v
retrieving revision 1.2
diff -u -r1.2 buildtarget
--- buildtarget	23 Jul 2003 21:30:29 -0000	1.2
+++ buildtarget	8 Sep 2003 13:44:35 -0000
@@ -32,8 +32,13 @@
 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


More information about the coreboot mailing list