Improvements to `!Common.sh` script (for cross-compiling)
makeis changed from an alias to a function. This allows many CI scripts to be simplified, since they will no longer require
shopt -s expand_aliases. It also allows us to be
source-d from within a subshell, where alias definitions have no effect, which is useful in certain special cases.
mkfunction now uses
trapto clean up whatever the manner in which it is exited. It also runs in
-emode (and uses an OR operator to avoid
grepfailures being considered fatal) so that
mkbehaves the same, whether the calling shell was in
-emode or not. (This is useful because CI scripts are run in
-emode by default.)
mknow builds the
makearguments 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