[openfirmware] [commit] r3066 - in cpu: arm/olpc/1.75 arm/olpc/3.0 arm/olpc/cl4 x86/pc/olpc x86/pc/olpc/via

repository service svn at openfirmware.info
Fri Jul 13 04:29:47 CEST 2012


Author: wmb
Date: Fri Jul 13 04:29:46 2012
New Revision: 3066
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3066

Log:
OLPC - Added a feature to */fw-version.fth whereby you can personalize your test builds by creating build/fw-suffix with a 2-character identifier, so you don't have to edit fw-version.fth.

Modified:
   cpu/arm/olpc/1.75/fw-version.fth
   cpu/arm/olpc/3.0/fw-version.fth
   cpu/arm/olpc/cl4/fw-version.fth
   cpu/x86/pc/olpc/versions.fth
   cpu/x86/pc/olpc/via/fw-version.fth

Modified: cpu/arm/olpc/1.75/fw-version.fth
==============================================================================
--- cpu/arm/olpc/1.75/fw-version.fth	Fri Jul 13 03:40:22 2012	(r3065)
+++ cpu/arm/olpc/1.75/fw-version.fth	Fri Jul 13 04:29:46 2012	(r3066)
@@ -2,3 +2,9 @@
 macro: FW_PREFIX Q4
 macro: FW_MAJOR D
 macro: FW_MINOR 20
+
+\ Create a 2-character build/fw-suffix file to personalize your test builds
+" fw-suffix" $file-exists?  [if]
+   " fw-suffix" $read-file 2 min  " ${FW_MINOR}%s" expand$  sprintf
+   " FW_MINOR" $set-macro
+[then]

Modified: cpu/arm/olpc/3.0/fw-version.fth
==============================================================================
--- cpu/arm/olpc/3.0/fw-version.fth	Fri Jul 13 03:40:22 2012	(r3065)
+++ cpu/arm/olpc/3.0/fw-version.fth	Fri Jul 13 04:29:46 2012	(r3066)
@@ -2,3 +2,9 @@
 macro: FW_PREFIX Q5
 macro: FW_MAJOR A
 macro: FW_MINOR 04
+
+\ Create a 2-character build/fw-suffix file to personalize your test builds
+" fw-suffix" $file-exists?  [if]
+   " fw-suffix" $read-file 2 min  " ${FW_MINOR}%s" expand$  sprintf
+   " FW_MINOR" $set-macro
+[then]

Modified: cpu/arm/olpc/cl4/fw-version.fth
==============================================================================
--- cpu/arm/olpc/cl4/fw-version.fth	Fri Jul 13 03:40:22 2012	(r3065)
+++ cpu/arm/olpc/cl4/fw-version.fth	Fri Jul 13 04:29:46 2012	(r3066)
@@ -1,4 +1,10 @@
 \ The overall firmware revision
 macro: FW_PREFIX Q6
 macro: FW_MAJOR A
-macro: FW_MINOR 00ma
+macro: FW_MINOR 00
+
+\ Create a 2-character build/fw-suffix file to personalize your builds
+" fw-suffix" $file-exists?  [if]
+   " fw-suffix" $read-file 2 min  " ${FW_MINOR}%s" expand$  sprintf
+   " FW_MINOR" $set-macro
+[then]

Modified: cpu/x86/pc/olpc/versions.fth
==============================================================================
--- cpu/x86/pc/olpc/versions.fth	Fri Jul 13 03:40:22 2012	(r3065)
+++ cpu/x86/pc/olpc/versions.fth	Fri Jul 13 04:29:46 2012	(r3066)
@@ -4,6 +4,12 @@
 macro: FW_MAJOR F
 macro: FW_MINOR 13
 
+\ Create a 2-character build/fw-suffix file to personalize your test builds
+" fw-suffix" $file-exists?  [if]
+   " fw-suffix" $read-file 2 min  " ${FW_MINOR}%s" expand$  sprintf
+   " FW_MINOR" $set-macro
+[then]
+
 \ The EC microcode
 macro: EC_VERSION 1_2_1
 

Modified: cpu/x86/pc/olpc/via/fw-version.fth
==============================================================================
--- cpu/x86/pc/olpc/via/fw-version.fth	Fri Jul 13 03:40:22 2012	(r3065)
+++ cpu/x86/pc/olpc/via/fw-version.fth	Fri Jul 13 04:29:46 2012	(r3066)
@@ -1,3 +1,9 @@
 \ The overall firmware revision
 macro: FW_MAJOR C
 macro: FW_MINOR 08
+
+\ Create a 2-character build/fw-suffix file to personalize your test builds
+" fw-suffix" $file-exists?  [if]
+   " fw-suffix" $read-file 2 min  " ${FW_MINOR}%s" expand$  sprintf
+   " FW_MINOR" $set-macro
+[then]



More information about the openfirmware mailing list