diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2022-06-02 19:17:43 +0100 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2022-11-03 18:29:13 +0000 |
commit | 9ad7f964177964f905658e53d8ebfce2000eee07 (patch) | |
tree | 4aa4129457b98bb716c772724722bf0057c634b6 /arm-riscos-gnueabihf/Makefile | |
parent | d9f77f31cfe97f438495d020788557abcbb07ecc (diff) | |
download | toolchains-9ad7f964177964f905658e53d8ebfce2000eee07.tar.gz toolchains-9ad7f964177964f905658e53d8ebfce2000eee07.tar.bz2 |
Teach OSLib about EABI
This introduces a new asmtype to defmod which invokes the correct
GCC for the task. It may be necessary to perform further surgery
to defmod's assembler generation to address places where the EABI
calling conventions don't match APCS-32 (note that there is no
floating point involved here, so that's one headache avoided).
Update the OSLib build system to allow building for an EABI target.
Diffstat (limited to 'arm-riscos-gnueabihf/Makefile')
-rw-r--r-- | arm-riscos-gnueabihf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm-riscos-gnueabihf/Makefile b/arm-riscos-gnueabihf/Makefile index 1a9b4a2..6c53c9b 100644 --- a/arm-riscos-gnueabihf/Makefile +++ b/arm-riscos-gnueabihf/Makefile @@ -115,7 +115,7 @@ $(BUILDSTEPS)/ccres.d: $(BUILDSTEPS)/oslib.d $(SOURCESDIR)/$(UPSTREAM_CCRES_TARB $(BUILDSTEPS)/oslib.d: $(BUILDSTEPS)/gcc.d $(SOURCESDIR)/$(UPSTREAM_OSLIB_TARBALL) tar -C $(BUILDDIR) -xaf $(SOURCESDIR)/$(UPSTREAM_OSLIB_TARBALL) for p in `ls $(RECIPES)/patches/oslib/*.p` ; do patch -d $(BUILDDIR)/oslib -p0 <$$p ; done - cd $(BUILDDIR)/oslib && GCCSDK_INSTALL_ENV=$(PREFIX)/env GCCSDK_INSTALL_CROSSBIN=$(PREFIX)/cross/bin make install + cd $(BUILDDIR)/oslib && GCCSDK_INSTALL_ENV=$(PREFIX)/env GCCSDK_INSTALL_CROSSBIN=$(PREFIX)/cross/bin make install-elfeabi touch $@ ### |