summaryrefslogtreecommitdiff
path: root/m5475-atari-mint/recipes/patches/pml/Makefile.32.p
diff options
context:
space:
mode:
authorVincent Sanders <vincent.sanders@collabora.co.uk>2012-10-12 11:47:49 +0100
committerVincent Sanders <vincent.sanders@collabora.co.uk>2012-10-12 11:48:19 +0100
commit1d541b45f4fd11c51a88a6abb81a78bf57b44b11 (patch)
tree2e1e0226be2b4c946b81800e72eddfa5baab1d74 /m5475-atari-mint/recipes/patches/pml/Makefile.32.p
parent8b06879b55bf41c99fd560a3ca9f17cdd67aeff2 (diff)
downloadtoolchains-1d541b45f4fd11c51a88a6abb81a78bf57b44b11.tar.gz
toolchains-1d541b45f4fd11c51a88a6abb81a78bf57b44b11.tar.bz2
add coldfire (m5475) toolchain/sdk build
Diffstat (limited to 'm5475-atari-mint/recipes/patches/pml/Makefile.32.p')
-rw-r--r--m5475-atari-mint/recipes/patches/pml/Makefile.32.p29
1 files changed, 29 insertions, 0 deletions
diff --git a/m5475-atari-mint/recipes/patches/pml/Makefile.32.p b/m5475-atari-mint/recipes/patches/pml/Makefile.32.p
new file mode 100644
index 0000000..1d598bb
--- /dev/null
+++ b/m5475-atari-mint/recipes/patches/pml/Makefile.32.p
@@ -0,0 +1,29 @@
+--- pmlsrc/Makefile.32 2011-05-13 23:28:56.000000000 +0100
++++ pmlsrc/Makefile.32 2011-05-13 23:29:26.000000000 +0100
+@@ -15,15 +15,23 @@
+ # they will be loaded into the library archive. Although
+ # some machines support randomly ordered libraries, ordering
+ # them correctly doesn't hurt...
+-CROSSDIR = /dsrg/bammi/cross-minix
++CROSSDIR = /opt/netsurf/m5475-atari-mint/cross/m5475-atari-mint
+ CROSSLIB = $(CROSSDIR)/lib
+ CROSSBIN = $(CROSSDIR)/bin
+ CROSSINC = $(CROSSDIR)/include
+
+-AR = /dsrg/bammi/cross-gcc/bin/car
+-CC = $(CROSSBIN)/mgcc
++AR = m5475-atari-mint-ar
++CC = m5475-atari-mint-gcc
+ CFLAGS = -O2 -fomit-frame-pointer -DIEEE -DNO_DBUG -I.
+
++ifeq ($(SUBTARGET),m68020-60)
++CFLAGS += -m68020-60
++endif
++
++ifeq ($(SUBTARGET),m5475)
++CFLAGS += -mcpu=5475
++endif
++
+ LIB = $(CROSSLIB)
+
+ INC = $(CROSSINC)