1. 16 Jun, 2021 1 commit
    • Ben Avison's avatar
      Improvements to `!Common.sh` script (for cross-compiling) · f91d528d
      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'
  2. 19 Apr, 2021 1 commit
  3. 14 Dec, 2020 4 commits
  4. 26 May, 2020 1 commit
  5. 28 Mar, 2020 1 commit
    • Robert Sprowson's avatar
      Shrink oversize HALs · b7e58533
      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'
  6. 12 Nov, 2019 2 commits
    • Ben Avison's avatar
      Make Env files work with default 640K again · 8d84772b
      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's avatar
      Fix changes in Env 1.40-1.41 so they work after a clean boot · 1533dafc
      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.
  7. 02 Nov, 2019 1 commit
  8. 27 Oct, 2019 1 commit
    • Ben Avison's avatar
      Detect AMU version number and feature at runtime · 4ecd3b18
      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'
  9. 04 Jun, 2019 4 commits
  10. 11 Apr, 2018 1 commit
    • Ben Avison's avatar
      Refactor cross-compilation environment scripts · 09cc90ae
      Ben Avison authored
        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
      Version 1.38. Tagged as 'Env-1_38'
  11. 21 Jan, 2017 1 commit
  12. 20 Jan, 2017 1 commit
  13. 28 May, 2016 1 commit
    • Jeffrey Lee's avatar
      Change PlingSystem over to using the new "26" machine type · d0f9e159
      Jeffrey Lee authored
        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)
        Tested with PlingSystem build
        Requires HdrSrc-2_63, Library-1_87, BuildSys-6_90
      Version 1.35. Tagged as 'Env-1_35'
  14. 05 Dec, 2015 1 commit
    • ROOL's avatar
      Change to target machine · bbf1bcb3
      ROOL authored
        Use CortexA7 for code generation options for Titanium, as a synonym for A15.
        Submission from Elesar.
        Requires HdrSrc-2_55.
      Version 1.34. Tagged as 'Env-1_34'
  15. 28 Nov, 2015 1 commit
  16. 08 Nov, 2015 1 commit
    • ROOL's avatar
      Machine selection changes · 797acafe
      ROOL authored
        OMAP5: Since code wise and arch wise A7=A15=A17, the machines in HdrSrc have been made common on A7.
        Bash script similarly changed, but untested.
        Retagged as Env-1_33.
  17. 07 Nov, 2015 1 commit
    • ROOL's avatar
      Extra environment options · 9ae56ceb
      ROOL authored
        OMAP5 and Titanium environments defined.
        !Common.sh CPU switch changed to ARMv7 as appropriate.
        Submission from Willi Theiss (OMAP5) and Elesar (Titanium).
      Version 1.33. Tagged as 'Env-1_33'
  18. 05 Sep, 2015 1 commit
  19. 02 Feb, 2015 1 commit
    • Ben Avison's avatar
      Add Raspberry Pi 2 support · c3710f4c
      Ben Avison authored
        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'
  20. 24 Sep, 2014 1 commit
  21. 15 Sep, 2014 1 commit
    • Steve Revill's avatar
      Define Install$Path in addition to Install$Dir · af08299b
      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:
      which was hopelessly broken prior to this change.
        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'
  22. 29 Apr, 2014 1 commit
  23. 28 Nov, 2013 1 commit
    • Jeffrey Lee's avatar
      Increase OMAP4 ROM size · 7c6411b3
      Jeffrey Lee authored
        ROOL/OMAP4,feb - OMAP4 ROM size increased from 4MB to 5MB, to cope with some incoming changes
        Builds, but untested
      Version 1.27. Tagged as 'Env-1_27'
  24. 11 Nov, 2013 1 commit
    • Ben Avison's avatar
      Comment change only · 892fee14
      Ben Avison authored
        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'
  25. 29 Jul, 2013 1 commit
    • Jeffrey Lee's avatar
      Updates for GCC4 based tools · 3e8dd75c
      Jeffrey Lee authored
        !Common,feb - Ensure SharedULib 1.12 is loaded. Boot !GCC (i.e. GCC 4) and !SharedLibs if present
        Required for GCC4 based tools to function
        Requires Modules-0_26 for SharedULib 1.12
      Version 1.25. Tagged as 'Env-1_25'
  26. 01 Apr, 2013 1 commit
    • Jeffrey Lee's avatar
      Drop Raspberry Pi ROM size down to 5MB · f90742a2
      Jeffrey Lee authored
        ROOL/BCM2835,feb - Reduced ROM size from 6MB to 5MB. We haven't needed 6MB for ages!
        Tested on Raspberry Pi
      Version 1.24. Tagged as 'Env-1_24'
  27. 27 Jan, 2013 1 commit
  28. 01 Sep, 2012 1 commit
  29. 26 Jun, 2012 1 commit
  30. 08 Jun, 2012 1 commit
  31. 05 Jun, 2012 1 commit
    • Robert Sprowson's avatar
      UserIF swapped from Iyonix · b202abdd
      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'
  32. 07 May, 2012 1 commit
  33. 27 Feb, 2012 1 commit
    • Jeffrey Lee's avatar
      Increase Tungsten ROM size to 5MB · b68622bb
      Jeffrey Lee authored
        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
        Tested in Tungsten ROM build & softload
      Version 1.17. Tagged as 'Env-1_17'