summaryrefslogtreecommitdiff
path: root/m5475-atari-mint/recipes/patches/pml/Makefile.16.p
diff options
context:
space:
mode:
Diffstat (limited to 'm5475-atari-mint/recipes/patches/pml/Makefile.16.p')
-rw-r--r--m5475-atari-mint/recipes/patches/pml/Makefile.16.p29
1 files changed, 29 insertions, 0 deletions
diff --git a/m5475-atari-mint/recipes/patches/pml/Makefile.16.p b/m5475-atari-mint/recipes/patches/pml/Makefile.16.p
new file mode 100644
index 0000000..b3114e3
--- /dev/null
+++ b/m5475-atari-mint/recipes/patches/pml/Makefile.16.p
@@ -0,0 +1,29 @@
+--- pmlsrc/Makefile.16 2011-05-13 23:26:37.000000000 +0100
++++ pmlsrc/Makefile.16 2011-05-13 23:28:32.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 = -mshort -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)