- 16 Jun, 2021 1 commit
-
-
Ben Avison authored
* `make` is changed from an alias to a function. This allows many CI scripts to be simplified, since they will no longer require `shopt expand_aliases`. It also allows us to be `source`d from within a subshell, when alias definitions have no effect, which is useful in certain special cases. * `mk` function now uses `trap` to clean up whatever the manner in which it is exited. It also runs in `-e` mode (and uses an OR operator to avoid `grep` failures being considered fatal) so that `mk` behaves the same, whether the calling shell was in `-e` mode or not. (This is useful because CI scripts are run in `-e` mode by default.) * `mk` now builds the `make` arguments using an array, to avoid any issues with special characters in any of the strings used. * Now passes ShellCheck tests. * Set correct tool options for cross-compiling Raspberry Pi ROMs (reflects addition of `Machine=RPi` from Library-1_76). Version 1.47. Tagged as 'Env-1_47'
-
- 19 Apr, 2021 1 commit
-
-
Robert Sprowson authored
Requires HdrSrc-2_94 Version 1.46. Tagged as 'Env-1_46'
-
- 14 Dec, 2020 4 commits
-
-
Ben Avison authored
This variable allows cross-compiling asasm to parse file specs with a `Hdr:` prefix. This facility should be mirrored in cross-compiling objasm soon. Version 1.45. Tagged as 'Env-1_45'
-
Ben Avison authored
This environment variable is required by srcbuild.
-
Ben Avison authored
It appears that recent versions have moved to a more standardised syntax, matching other tools.
-
Ben Avison authored
-
- 26 May, 2020 1 commit
-
-
James Byrne authored
Detail: The mk function had the bad habit of hiding failed builds by always returning an exit code of zero. It will now exit with 1 on a failure. Version 1.44. Tagged as 'Env-1_44'
-
- 28 Mar, 2020 1 commit
-
-
Robert Sprowson authored
Now the HALs don't carry copies of the USB stack, these 2 are overweight. OMAP3 -> 64k (still approx 23k free) iMx6 -> 96k (still approx 32k free) Version 1.43. Tagged as 'Env-1_43'
-
- 12 Nov, 2019 2 commits
-
-
Ben Avison authored
Changes in Env 1.40-1.41 require GNU.gawk and amu within the same application slot at the same time, which exceeds the default 640K WimpSlot. There isn't actually any need for the awk script to run within a Makefile (it's not testing the Makefile's behaviour directly) so by moving the lines up to !Common, the memory usage is reduced. Version 1.42. Tagged as 'Env-1_42'
-
Ben Avison authored
These relied on calling the GNU.gawk binary, but did so *before* the run path was guaranteed to point at it. Move that block of lines lower down. Also remove unused (and commented) Src$Dir definition within the lines that we move it past.
-
- 02 Nov, 2019 1 commit
-
-
Ben Avison authored
Version 1.41. Tagged as 'Env-1_41'
-
- 27 Oct, 2019 1 commit
-
-
Ben Avison authored
Extract the version number from AMU's help message and set `AMU$Version` accordingly. Also set `AMU$HasWorkingWildcard` depending upon whether the installed version of AMU has a fully functional `$(wildcard)` function. Version 1.40. Tagged as 'Env-1_40'
-
- 04 Jun, 2019 4 commits
-
-
Ben Avison authored
Version 1.39. Tagged as 'Env-1_39'
-
Ben Avison authored
-
Ben Avison authored
-
Ben Avison authored
In cases where mk's environment didn't define these, the null definition from ModuleDB was overriding any default definitions in the Makefile, which is very unhelpful!
-
- 11 Apr, 2018 1 commit
-
-
Ben Avison authored
Detail: In tentative efforts to support cross-compilation to date, a few components have had mk.sh scripts inserted. These are functionally equivalent to the !Mk* TaskObey files, in that they are a convenience for developers working on that component in isolation. However, unlike their RISC OS equivalents, the nature of shell scripts means that they are relatively complex, and are therefore relatively burdensome to create and maintain. This commit replaces this mechanism with a shell function which is defined when you source the Env file. This enables a build phase to be applied to the component at the working directory to be built with a simple "mk export", "mk install", "mk rom", "mk clean" and so on. Previously, the build variables COMPONENT, TARGET and INSTDIR were encoded in the mk.sh script, and where a component had multiple targets, the mk.sh script would run the phase on all such components; now the mk function scans the ModuleDB to locate this information instead. You can even target a component in another directory using the -C switch (chosen to match make's equivalent switch). Some efforts have also been made to support Posix shells other than bash. The only feature dropped is the ability to build the component using a different environment within a subshell. However it's relatively simple to construct this at the command line if desired. Version 1.38. Tagged as 'Env-1_38'
-
- 21 Jan, 2017 1 commit
-
-
John Ballance authored
Detail: Admin: Version 1.37. Tagged as 'Env-1_37'
-
- 20 Jan, 2017 1 commit
-
-
John Ballance authored
Detail: Admin: Version 1.36. Tagged as 'Env-1_36'
-
- 28 May, 2016 1 commit
-
-
Jeffrey Lee authored
Detail: ROOL/PlingSystem,feb - Instead of using the Archimedes machine type, use "26". This allows for e.g. recognition of the StrongARM MSR bug in Hdr:Machine.Machine, and allows CLib to build multiple variants of some routines to target the different CPU architectures (e.g. long multiplies) Admin: Tested with PlingSystem build Requires HdrSrc-2_63, Library-1_87, BuildSys-6_90 Version 1.35. Tagged as 'Env-1_35'
-
- 05 Dec, 2015 1 commit
-
-
ROOL authored
Detail: Use CortexA7 for code generation options for Titanium, as a synonym for A15. Admin: Submission from Elesar. Requires HdrSrc-2_55. Version 1.34. Tagged as 'Env-1_34'
-
- 28 Nov, 2015 1 commit
-
-
ROOL authored
Admin: Submission from Willi Theiss
-
- 08 Nov, 2015 1 commit
-
-
ROOL authored
Detail: OMAP5: Since code wise and arch wise A7=A15=A17, the machines in HdrSrc have been made common on A7. Admin: Bash script similarly changed, but untested. Retagged as Env-1_33.
-
- 07 Nov, 2015 1 commit
-
-
ROOL authored
Detail: OMAP5 and Titanium environments defined. !Common.sh CPU switch changed to ARMv7 as appropriate. Admin: Submission from Willi Theiss (OMAP5) and Elesar (Titanium). Version 1.33. Tagged as 'Env-1_33'
-
- 05 Sep, 2015 1 commit
-
-
Robert Sprowson authored
Version 1.32. Tagged as 'Env-1_32'
-
- 02 Feb, 2015 1 commit
-
-
Ben Avison authored
Detail: The Raspberry Pi ROM now joins the IOMD ROM in supporting multiple architectures, in this case ARMv6 and ARMv7. This has been achieved by creating a new machine type specific for Raspberry Pi. The old ARM11ZF machine type remains for builds that are ARM11-only. Version 1.31. Tagged as 'Env-1_31'
-
- 24 Sep, 2014 1 commit
-
-
Ben Avison authored
Also add a couple more cross-compile Env files. Version 1.30. Tagged as 'Env-1_30'
-
- 15 Sep, 2014 1 commit
-
-
Steve Revill authored
The !Common script will now define a macro variable for Install$Path which contains <Install$Dir>. which means install targets can now be specified in the form "Install:foo" rather than "<Install$Dir>.foo". This is especially handy because any path that has a / in it can end up being munged from UNIX to RISC OS form, even if it was a RISC OS path in the first place. But one thing that prevents the munging is if the path has a : in it. Long story short, you can now do stuff like this: INSTDIR=Install:DDE.AcornC/C++.Library which was hopelessly broken prior to this change. Admin: Requires mkdir 1.04 for the full goodness. Will be put into the main Library component at some point soon. Version 1.29. Tagged as 'Env-1_29'
-
- 29 Apr, 2014 1 commit
-
-
Ben Avison authored
Version 1.28. Tagged as 'Env-1_28'
-
- 28 Nov, 2013 1 commit
-
-
Jeffrey Lee authored
Detail: ROOL/OMAP4,feb - OMAP4 ROM size increased from 4MB to 5MB, to cope with some incoming changes Admin: Builds, but untested Version 1.27. Tagged as 'Env-1_27'
-
- 11 Nov, 2013 1 commit
-
-
Ben Avison authored
Detail: For those components that support cross-compilation, the mk.sh scripts are being changed to assume that the castle/bsd/mixed etc directories are no longer merged together. This is in line with the change to recommended practice for native builds (see the Prepare component in the root of CVS). This has no impact on Env, except for the comments in the Env files about what they expect the PWD to be on entry. Version 1.26. Tagged as 'Env-1_26'
-
- 29 Jul, 2013 1 commit
-
-
Jeffrey Lee authored
Detail: !Common,feb - Ensure SharedULib 1.12 is loaded. Boot !GCC (i.e. GCC 4) and !SharedLibs if present Admin: Required for GCC4 based tools to function Requires Modules-0_26 for SharedULib 1.12 Version 1.25. Tagged as 'Env-1_25'
-
- 01 Apr, 2013 1 commit
-
-
Jeffrey Lee authored
Detail: ROOL/BCM2835,feb - Reduced ROM size from 6MB to 5MB. We haven't needed 6MB for ages! Admin: Tested on Raspberry Pi Version 1.24. Tagged as 'Env-1_24'
-
- 27 Jan, 2013 1 commit
-
-
Robert Sprowson authored
Version 1.23. Tagged as 'Env-1_23'
-
- 01 Sep, 2012 1 commit
-
-
Robert Sprowson authored
Version 1.22. Tagged as 'Env-1_22'
-
- 26 Jun, 2012 1 commit
-
-
Robert Sprowson authored
Version 1.21. Tagged as 'Env-1_21'
-
- 08 Jun, 2012 1 commit
-
-
Ben Avison authored
Version 1.20. Tagged as 'Env-1_20'
-
- 05 Jun, 2012 1 commit
-
-
Robert Sprowson authored
Request from Willi Theiss for OMAP4, not tested here. OMAP3Live brought in line with OMAP3, not tested here. Version 1.19. Tagged as 'Env-1_19'
-
- 07 May, 2012 1 commit
-
-
Ben Avison authored
Detail: New Env file Admin: Changes received from Adrian Lees Version 1.18. Tagged as 'Env-1_18'
-
- 27 Feb, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: ROOL/Tungsten,feb - Now that we're using compressed ROMs, we can increase ImageSize to 5120K and give ourselves some much-needed room for expansion Admin: Tested in Tungsten ROM build & softload Version 1.17. Tagged as 'Env-1_17'
-