Commit df2a1460 authored by Steve Revill's avatar Steve Revill
Browse files

Made various changes to this component to bring into line with releases.

Various targets from this component now build stuff which fully matches
the things that get uploaded onto the ROOL web site. This removes quite
a bit of manual faffing from the autobuild-then-release process. Next
step will be to fully automate the autobuilder using the modified RPCemu
from Jeffrey Lee.

Version 0.14. Tagged as 'ABRelease-0_14'
parent 3af44f5a
......@@ -31,6 +31,7 @@ clean clean_all export_hdrs export_libs rom install install_rom release_autobuil
@Set ab_res$path <ab_res$dir>.,ab_csd:Resources.<Build>.,ab_csd:Resources.Generic.
@Set ab_build$dir <AutoBuild$Root>.builds.<Autobuild$Build>
@Set ab_build$path <ab_build$dir>.
@Set ab_local$zip tmp/zip
@Set ab_zip$file ab_build:<Autobuild$Build>/zip
@If "<Autobuild$Build>" <> "" Then CDir <ab_build$dir>
@If "<Autobuild$Build>" <> "" Then IfThere ab_res:$@ Then Obey -v ab_res:$@ ${INSTDIR}
......
......@@ -14,4 +14,4 @@
|
| Remove any old crud from our resources directory
x Wipe <ab_res$dir>.zip ~cfr~v
Remove <ab_res$dir>.tmp/zip
\ No newline at end of file
Remove <ab_res$dir>.<ab_local$zip>
\ No newline at end of file
......@@ -17,7 +17,7 @@ IfThere <Build$Dir>.Images.<Build$ImageName> Then Else Obey
| Remove any old crud from our build-specific resources directory
x Wipe <ab_res$dir>.zip ~cfr~v
Remove <ab_res$dir>.tmp/zip
Remove <ab_res$dir>.<ab_local$zip>
| Create an empty directory to hold the files that will be zipped up
CDir <ab_res$dir>.zip
......@@ -29,13 +29,13 @@ Copy ab_res:Licence_v1/pdf <ab_res$dir>.zip.Licence_v1/pdf ~cf~r~v
Copy ab_res:ReadMe/txt <ab_res$dir>.zip.ReadMe/txt ~cf~r~v
| Copy the ROM image into the zip directory
Copy <Build$Dir>.Images.<Build$ImageName> <ab_res$dir>.zip.<Build$ImageName> ~cf~r~v
Copy <Build$Dir>.Images.<Build$ImageName> <ab_res$dir>.zip.riscos ~cf~r~v
| Set the zip directory as the current directory
Dir <ab_res$dir>.zip
| Create a zip archive with the required files in it
Do zip -9qj ^.tmp/zip *
Do zip -9qr ^.<ab_local$zip> *
| Return the CSD to its original state
Back
......@@ -44,6 +44,6 @@ Back
Remove <ab_zip$file>
| Copy the template zip archive onto the autobuild server
Copy <ab_res$dir>.tmp/zip <ab_zip$file> ~cfr~v
SetType <ab_zip$file> &A91
Access <ab_zip$file> rw/r
SetType <ab_res$dir>.<ab_local$zip> &A91
Copy <ab_res$dir>.<ab_local$zip> <ab_zip$file> ~cfr~v
Access <ab_zip$file> rw/r
\ No newline at end of file
| Copyright 2010 Castle Technology Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| Set up and/or override some system variables
Set ab_local$zip rom-iomd/5/xx/zip
Set ab_local$soft soft-iomd/5/xx/zip
Set ab_soft$dir <ab_res$dir>.soft.!Boot.Choices.Boot.PreDesk.!!SoftLoad
| Remove any old crud from our resources directory
x Wipe <ab_res$dir>.zip ~cfr~v
Remove <ab_res$dir>.<ab_local$zip>
Remove <ab_res$dir>.<ab_local$soft>
Remove <ab_res$dir>.soft.Licence_v1/pdf
Remove <ab_soft$dir>.riscos
\ No newline at end of file
| Copyright 2010 Castle Technology Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| If there is no ROM image (e.g. the build failed), exit here
IfThere <Build$Dir>.Images.<Build$ImageName> Then Else Obey
| Run our clean script
Run <ab_res$dir>.clean
| Create an empty directory to hold the files that will be zipped up
CDir <ab_res$dir>.zip
| Copy the Castle licence file into the zip directory
Copy ab_res:Licence_v1/pdf <ab_res$dir>.zip.Licence_v1/pdf ~cf~r~v
| Copy the ReadMe for this build into the zip directory
Copy ab_res:ReadMe/txt <ab_res$dir>.zip.ReadMe/txt ~cf~r~v
| Copy the ROM image into the zip directory
Copy <Build$Dir>.Images.<Build$ImageName> <ab_res$dir>.zip.riscos ~cf~r~v
| Set the zip directory as the current directory
Dir <ab_res$dir>.zip
| Create a zip archive with the required files in it
Do zip -9qr ^.<ab_local$zip> *
| Return the CSD to its original state
Back
| Create the softload zipfile
Copy ab_res:Licence_v1/pdf <ab_res$dir>.soft.Licence_v1/pdf ~cf~r~v
Copy <ab_res$dir>.zip.riscos <ab_soft$dir>.riscos ~cf~r~v
Dir <ab_res$dir>.soft
Do zip -9qr <ab_res$dir>.<ab_local$soft> *
SetType <ab_res$dir>.<ab_local$soft> &A91
Back
| Delete any pre-existing ROM build zip archive on the autobuild server
Remove <ab_zip$file>
| Copy the ROM build zip archive onto the autobuild server
SetType <ab_res$dir>.<ab_local$zip> &A91
Copy <ab_res$dir>.<ab_local$zip> <ab_zip$file> ~cfr~v
Access <ab_zip$file> rw/r
\ No newline at end of file
......@@ -18,7 +18,14 @@ this archive as Licence_v1.pdf), or see:
How to install the ROM image
============================
The easiest way to install the ROM image onto an SD card is to use the included !SDCreate application. If you have the RISC OS 5 USB mass storage drivers then !SDCreate can write the image straight to an SD card. Alternatively you can create a disc image file which can then be written to a card using any ordinary Windows/Linux/Mac PC. For more information, including a description of the SD card structure, see the !SDCreate help file or the RISC OS Open wiki:
The easiest way to install the ROM image onto an SD card is to use the
included !SDCreate application. If you have the RISC OS 5 USB mass storage
drivers then !SDCreate can write the image straight to an SD card.
Alternatively you can create a disc image file which can then be written to a
card using any ordinary Windows/Linux/Mac PC. For more information, including
a description of the SD card structure, see the !SDCreate help file or the
RISC OS Open wiki:
http://www.riscosopen.org/wiki/documentation/pages/Using+the+Cortex-A8+port
......
| Copyright 2010 Castle Technology Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| Set up and/or override some system variables
Set ab_local$zip rom-omap/5/xx/zip
| Remove any old crud from our resources directory
x Wipe <ab_res$dir>.zip ~cfr~v
Remove <ab_res$dir>.<ab_local$zip>
\ No newline at end of file
......@@ -15,9 +15,8 @@
| If there is no ROM image (e.g. the build failed), exit here
IfThere <Build$Dir>.Images.<Build$ImageName> Then Else Obey
| Remove any old crud from our build-specific resources directory
x Wipe <ab_res$dir>.zip ~cfr~v
Remove <ab_res$dir>.tmp/zip
| Run our clean script
Run <ab_res$dir>.clean
| Create an empty directory to hold the files that will be zipped up
CDir <ab_res$dir>.zip
......@@ -29,7 +28,7 @@ Copy ab_res:Licence_v1/pdf <ab_res$dir>.zip.Licence_v1/pdf ~cf~r~v
Copy ab_res:ReadMe/txt <ab_res$dir>.zip.ReadMe/txt ~cf~r~v
| Copy the ROM image into the zip directory
Copy <Build$Dir>.Images.<Build$ImageName> <ab_res$dir>.zip.<Build$ImageName> ~cf~r~v
Copy <Build$Dir>.Images.<Build$ImageName> <ab_res$dir>.zip.riscos ~cf~r~v
| Copy !SDCreate into the zip directory
CDir <ab_res$dir>.zip.!SDCreate
......@@ -59,7 +58,7 @@ Copy ab_res:!SDCreate.scripts.source.pandora <ab_res$dir>.zip.!SDCreate.scripts
Dir <ab_res$dir>.zip
| Create a zip archive with the required files in it
Do zip -9qr ^.tmp/zip *
Do zip -9qr ^.<ab_local$zip> *
| Return the CSD to its original state
Back
......@@ -68,6 +67,6 @@ Back
Remove <ab_zip$file>
| Copy the template zip archive onto the autobuild server
Copy <ab_res$dir>.tmp/zip <ab_zip$file> ~cfr~v
SetType <ab_zip$file> &A91
Access <ab_zip$file> rw/r
SetType <ab_res$dir>.<ab_local$zip> &A91
Copy <ab_res$dir>.<ab_local$zip> <ab_zip$file> ~cfr~v
Access <ab_zip$file> rw/r
\ No newline at end of file
| Copyright 2010 Castle Technology Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| Set up and/or override some system variables
Set ab_local$zip rom-iyo/5/xx/zip
Set ab_local$soft soft-iyo/5/xx/zip
Set ab_soft$dir <ab_res$dir>.soft.!Boot.Choices.Boot.PreDesk.!!SoftLoad
| Remove any old crud from our resources directory
x Wipe <ab_res$dir>.zip ~cfr~v
Remove <ab_res$dir>.<ab_local$zip>
Remove <ab_res$dir>.<ab_local$soft>
Remove <ab_res$dir>.soft.Licence_v1/pdf
Remove <ab_soft$dir>.riscos
\ No newline at end of file
| Copyright 2010 Castle Technology Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| If there is no ROM image (e.g. the build failed), exit here
IfThere <Build$Dir>.Images.<Build$ImageName> Then Else Obey
| Run our clean script
Run <ab_res$dir>.clean
| Create an empty directory to hold the files that will be zipped up
CDir <ab_res$dir>.zip
| Copy the Castle licence file into the zip directory
Copy ab_res:Licence_v1/pdf <ab_res$dir>.zip.Licence_v1/pdf ~cf~r~v
| Copy the ReadMe for this build into the zip directory
Copy ab_res:ReadMe/txt <ab_res$dir>.zip.ReadMe/txt ~cf~r~v
| Copy the ROM image into the zip directory
Copy <Build$Dir>.Images.<Build$ImageName> <ab_res$dir>.zip.riscos ~cf~r~v
| Set the zip directory as the current directory
Dir <ab_res$dir>.zip
| Create a zip archive with the required files in it
Do zip -9qr ^.<ab_local$zip> *
| Return the CSD to its original state
Back
| Create the softload zipfile
Copy ab_res:Licence_v1/pdf <ab_res$dir>.soft.Licence_v1/pdf ~cf~r~v
Copy <ab_res$dir>.zip.riscos <ab_soft$dir>.riscos ~cf~r~v
Dir <ab_res$dir>.soft
Do zip -9qr <ab_res$dir>.<ab_local$soft> *
SetType <ab_res$dir>.<ab_local$soft> &A91
Back
| Delete any pre-existing ROM build zip archive on the autobuild server
Remove <ab_zip$file>
| Copy the ROM build zip archive onto the autobuild server
SetType <ab_res$dir>.<ab_local$zip> &A91
Copy <ab_res$dir>.<ab_local$zip> <ab_zip$file> ~cfr~v
Access <ab_zip$file> rw/r
\ No newline at end of file
| Copyright 2010 Castle Technology Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| Set up and/or override some system variables
Set ab_local$zip rom-iyo-beta/5/xx/zip
Set ab_local$soft soft-iyo-beta/5/xx/zip
Set ab_soft$dir <ab_res$dir>.soft.!Boot.Choices.Boot.PreDesk.!!SoftLoad
| Remove any old crud from our resources directory
x Wipe <ab_res$dir>.zip ~cfr~v
Remove <ab_res$dir>.<ab_local$zip>
Remove <ab_res$dir>.<ab_local$soft>
Remove <ab_res$dir>.soft.Licence_v1/pdf
Remove <ab_soft$dir>.riscos
\ No newline at end of file
| Copyright 2010 Castle Technology Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| If there is no ROM image (e.g. the build failed), exit here
IfThere <Build$Dir>.Images.<Build$ImageName> Then Else Obey
| Run our clean script
Run <ab_res$dir>.clean
| Create an empty directory to hold the files that will be zipped up
CDir <ab_res$dir>.zip
| Copy the Castle licence file into the zip directory
Copy ab_res:Licence_v1/pdf <ab_res$dir>.zip.Licence_v1/pdf ~cf~r~v
| Copy the ReadMe for this build into the zip directory
Copy ab_res:ReadMe/txt <ab_res$dir>.zip.ReadMe/txt ~cf~r~v
| Copy the ROM image into the zip directory
Copy <Build$Dir>.Images.<Build$ImageName> <ab_res$dir>.zip.riscos ~cf~r~v
| Set the zip directory as the current directory
Dir <ab_res$dir>.zip
| Create a zip archive with the required files in it
Do zip -9qr ^.<ab_local$zip> *
| Return the CSD to its original state
Back
| Create the softload zipfile
Copy ab_res:Licence_v1/pdf <ab_res$dir>.soft.Licence_v1/pdf ~cf~r~v
Copy <ab_res$dir>.zip.riscos <ab_soft$dir>.riscos ~cf~r~v
Dir <ab_res$dir>.soft
Do zip -9qr <ab_res$dir>.<ab_local$soft> *
SetType <ab_res$dir>.<ab_local$soft> &A91
Back
| Delete any pre-existing ROM build zip archive on the autobuild server
Remove <ab_zip$file>
| Copy the ROM build zip archive onto the autobuild server
SetType <ab_res$dir>.<ab_local$zip> &A91
Copy <ab_res$dir>.<ab_local$zip> <ab_zip$file> ~cfr~v
Access <ab_zip$file> rw/r
\ No newline at end of file
/* (0.13)
/* (0.14)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.13
#define Module_MajorVersion_CMHG 0.14
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 17 Oct 2010
#define Module_Date_CMHG 14 Nov 2010
#define Module_MajorVersion "0.13"
#define Module_Version 13
#define Module_MajorVersion "0.14"
#define Module_Version 14
#define Module_MinorVersion ""
#define Module_Date "17 Oct 2010"
#define Module_Date "14 Nov 2010"
#define Module_ApplicationDate "17-Oct-10"
#define Module_ApplicationDate "14-Nov-10"
#define Module_ComponentName "ABRelease"
#define Module_ComponentPath "castle/RiscOS/Utilities/Autobuild/ABRelease"
#define Module_FullVersion "0.13"
#define Module_HelpVersion "0.13 (17 Oct 2010)"
#define Module_LibraryVersionInfo "0:13"
#define Module_FullVersion "0.14"
#define Module_HelpVersion "0.14 (14 Nov 2010)"
#define Module_LibraryVersionInfo "0:14"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment