-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add build scripts to function with the RISC OS build system.
The RISC OS build system can build most things, given a suitable set of scripts. Here we invoke the 'MkROBuild' command which will build things using the toolchain on the RISC OS build system. The artifacts generated are in the usual format, allowing users to copy the tool into their library as they see fit.
- Loading branch information
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
%YAML 1.0 | ||
--- | ||
|
||
# RISC OS Build service build file | ||
# How to build manually on a non-RISC OS system: | ||
# rm -f /tmp/source-archive.zip ; zip -9r /tmp/source-archive.zip .robuild.yaml src LICENSE ; riscos-build-online -i /tmp/source-archive.zip -o /tmp/built and unzip -l /tmp/built,a91 | ||
|
||
# Defines a list of jobs which will be performed. | ||
# Only 1 job will currently be executed. | ||
jobs: | ||
build: | ||
# Env defines system variables which will be used within the environment. | ||
# Multiple variables may be assigned. | ||
env: | ||
"Sys$Environment": ROBuild | ||
"BUILD32": 1 | ||
"Locale": UK | ||
|
||
# Directory to change to before running script | ||
dir: src | ||
|
||
# Commands which should be executed to perform the build. | ||
# The build will terminate if any command returns a non-0 return code or an error. | ||
script: | ||
- /MkROBuild | ||
|
||
# Outputs from the build are defined in artifacts | ||
# These are a list of artifacts to report directories or files. | ||
# Only a single item is currently supported. | ||
artifacts: | ||
# Each element of the artifacts should have a path key, which gives the file or | ||
# directory to return. | ||
- path: Artifacts |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
| Build on the RISC OS Build service | ||
|
||
Dir <Obey$Dir> | ||
cdir ^.Artifacts | ||
cdir ^.Artifacts.Library | ||
cdir ^.Artifacts.Library.Internet | ||
amu -f MakeFileROBuild install INSTDIR=^.Artifacts.Library.Internet | ||
if "<Sys$ReturnCode>" <> 0 Then Error Failed to build | ||
|
||
| Two LICENSE files are present, so must be supplied to the user. | ||
copy LICENSE ^.Artifacts.LICENSE/1 ~CVF | ||
copy ^.LICENSE ^.Artifacts.LICENSE/2 ~CVF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
WakeOnLAN {Module_FullVersionAndDate} | ||
*WakeOnLAN is used to send a magic network packet to a machine to cause it to wake up. The remote machine must be configured to accept such network packets. | ||
Syntax: *WakeOnLAN -m <mac address> [ -b <broadcast address> ] [-v] |