summaryrefslogtreecommitdiff
path: root/arm-unknown-riscos/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-07-17 19:03:23 +0100
committerVincent Sanders <vince@netsurf-browser.org>2012-07-17 19:03:23 +0100
commitc495c95b1c64c05bef547b82084a16ef34c5c0d9 (patch)
tree68978b5126c50bfc1e7e8ee96a56cb0e72c03325 /arm-unknown-riscos/Makefile
parent004ca29118a1993532360038bfa5abf2955f98fa (diff)
downloadtoolchains-c495c95b1c64c05bef547b82084a16ef34c5c0d9.tar.gz
toolchains-c495c95b1c64c05bef547b82084a16ef34c5c0d9.tar.bz2
Update to build from scratch
Add basic README containing dependancies and risc os build instructions
Diffstat (limited to 'arm-unknown-riscos/Makefile')
-rw-r--r--arm-unknown-riscos/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arm-unknown-riscos/Makefile b/arm-unknown-riscos/Makefile
index 42e2753..4bbe1ca 100644
--- a/arm-unknown-riscos/Makefile
+++ b/arm-unknown-riscos/Makefile
@@ -59,6 +59,7 @@ $(BUILDSTEPS)/infozip.d: $(BUILDSTEPS)/gcc.d $(SOURCESDIR)/$(UPSTREAM_INFOZIP_TA
cd $(BUILDDIR)/zip$(UPSTREAM_INFOZIP_VERSION) && make -f unix/Makefile generic LOCAL_ZIP=-DFORRISCOS
cp $(BUILDDIR)/zip$(UPSTREAM_INFOZIP_VERSION)/zip $(PREFIX)/cross/bin/zip
@# Yuck. Build host tooling should not be installed into the target environment
+ mkdir -p $(PREFIX)/env/bin
ln -fs $(PREFIX)/cross/bin/zip $(PREFIX)/env/bin/zip
touch $@
@@ -97,6 +98,7 @@ $(BUILDSTEPS)/oslib.d: $(BUILDSTEPS)/gcc.d $(SOURCESDIR)/$(UPSTREAM_OSLIB_TARBAL
$(BUILDSTEPS)/gcc.d: $(BUILDSTEPS)/gccsdk-srcdir.d
cd $(BUILDDIR)/gcc4 && make
+ cd $(BUILDDIR)/gcc4 && ./install-env
touch $@
$(BUILDSTEPS)/gccsdk-srcdir.d: $(BUILDSTEPS)/buildsteps.d $(SOURCESDIR)/$(UPSTREAM_GCCSDK_TARBALL)