Commit 5451ac85 authored by Ben Avison's avatar Ben Avison
Browse files

Additional tool defines

* Define `DEFMOD` for cross-compilation use.
* Define `SETTYPE` for cross-compilation use (this acts as a no-op; when
  cross-compiling, filetypes are indicated using ,xx suffixes instead).
* Define `RUN` tool for both native and cross-compilation. This is already
  used in various components, but wasn't defined anywhere. It is particularly
  useful during cross-compilation for launching build tools that were built
  locally to a component, since on systems other than RISC OS, the current
  directory is typically not on the run path.
parent 7e46666a
......@@ -65,7 +65,7 @@ BASCRUNCH = toffb --crunch
BINAOF = binaof
CAT = cat
#DATA2AOF = datatoaof
#DEFMOD = defmod
DEFMOD = ASMCMD=${AS} defmod ${TOOLOPTIONS}
DO =
ECHO = echo
ERASECVS = @erasecvs () { echo EraseCVS $$1; find $$1 -type d -exec rm -rf '{}/CVS' \; -exec rm -f '{}/.cvstag' \; }; erasecvs
......@@ -88,7 +88,7 @@ NOP = #
PERL = perl
RESGEN = resgen
RM = rm -f
#SETTYPE = settype
SETTYPE = @echo > /dev/null
SQUASH = Squash
SQUISH = sbrandy -quit ${TOOLSDIR}/Build/Squish,ffb --
ifneq (Host,${APCS})
......@@ -118,6 +118,7 @@ LS = ls
MKDIR = mkdir -p
PWD = pwd
RPCGEN = rpcgen
RUN = ./
SED = sed
WC = wc
YACC = bison
......
......@@ -94,6 +94,7 @@ LS = Unix.ls
MKDIR = ${DO} mkdir -p
PWD = Unix.pwd
RPCGEN = rpcgen
RUN = /
SED = sed
WC = Unix.wc
YACC = GNU.bison
......
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