diff options
-rw-r--r-- | makefiles/Makefile.tools | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index 31fd9f4..112e7f8 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -160,8 +160,8 @@ else ifeq ($(findstring -riscos,$(HOST)),-riscos) # Cross compiling for RISC OS - ifeq ($(HOST),arm-riscos-gnueabihf) - # Can't build modules with this toolchain + ifeq ($(findstring gnueabi,$(HOST)),gnueabi) + # Can't build modules with this [arm-riscos-gnueabi(hf)] toolchain CMHG ?= echo else CMHG ?= PATH="$(GCCSDK_INSTALL_CROSSBIN):$(PATH)" $(GCCSDK_INSTALL_CROSSBIN)/cmunge @@ -175,6 +175,9 @@ else ifneq ($(findstring arm-unknown-riscos-gcc,$(CC__)),) EXEEXT := ,e1f endif + ifneq ($(findstring arm-riscos-gnueabi-gcc,$(CC__)),) + EXEEXT := ,e1f + endif ifneq ($(findstring arm-riscos-gnueabihf-gcc,$(CC__)),) EXEEXT := ,e1f endif |