diff options
Diffstat (limited to 'm5475-atari-mint/recipes/patches/pml')
-rw-r--r-- | m5475-atari-mint/recipes/patches/pml/Makefile.16.p | 29 | ||||
-rw-r--r-- | m5475-atari-mint/recipes/patches/pml/Makefile.32.p | 29 | ||||
-rw-r--r-- | m5475-atari-mint/recipes/patches/pml/Makefile.p | 18 |
3 files changed, 76 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) 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) diff --git a/m5475-atari-mint/recipes/patches/pml/Makefile.p b/m5475-atari-mint/recipes/patches/pml/Makefile.p new file mode 100644 index 0000000..f741df8 --- /dev/null +++ b/m5475-atari-mint/recipes/patches/pml/Makefile.p @@ -0,0 +1,18 @@ +--- pmlsrc/Makefile 2011-05-13 23:20:51.000000000 +0100 ++++ pmlsrc/Makefile 2011-05-13 23:25:52.000000000 +0100 +@@ -1,9 +1,13 @@ +-CROSSDIR = /dsrg/bammi/cross-minix +-CROSSLIB = $(CROSSDIR)/lib ++CROSSDIR = /opt/netsurf/m5475-atari-mint/cross/m5475-atari-mint ++CROSSLIB := $(CROSSDIR)/lib + CROSSBIN = $(CROSSDIR)/bin + CROSSINC = $(CROSSDIR)/include + WITH_SHORT_LIBS = 0 + ++ifneq ($(SUBTARGET),) ++CROSSLIB := $(CROSSLIB)/$(SUBTARGET) ++endif ++ + ALL = libpml32.a + + ifeq ($(WITH_SHORT_LIBS), 1) |