summaryrefslogtreecommitdiff
path: root/m5475-atari-mint/recipes/patches
diff options
context:
space:
mode:
Diffstat (limited to 'm5475-atari-mint/recipes/patches')
-rw-r--r--m5475-atari-mint/recipes/patches/gcc/gmp-configure.p11
-rw-r--r--m5475-atari-mint/recipes/patches/gemlib/CONFIGVARS.p29
-rw-r--r--m5475-atari-mint/recipes/patches/mintlib/configvars.p28
-rw-r--r--m5475-atari-mint/recipes/patches/pml/Makefile.16.p29
-rw-r--r--m5475-atari-mint/recipes/patches/pml/Makefile.32.p29
-rw-r--r--m5475-atari-mint/recipes/patches/pml/Makefile.p18
6 files changed, 144 insertions, 0 deletions
diff --git a/m5475-atari-mint/recipes/patches/gcc/gmp-configure.p b/m5475-atari-mint/recipes/patches/gcc/gmp-configure.p
new file mode 100644
index 0000000..a8ac807
--- /dev/null
+++ b/m5475-atari-mint/recipes/patches/gcc/gmp-configure.p
@@ -0,0 +1,11 @@
+--- gmp/configure.orig 2012-08-17 18:03:57.000000000 +0100
++++ gmp/configure 2012-08-17 18:04:17.000000000 +0100
+@@ -30006,8 +30006,6 @@
+ echo "define(<M4WRAP_SPURIOUS>,<$gmp_cv_m4_m4wrap_spurious>)" >> $gmp_tmpconfigm4
+
+
+-else
+- M4=m4-not-needed
+ fi
+
+ # Only do the GMP_ASM checks if there's a .S or .asm wanting them.
diff --git a/m5475-atari-mint/recipes/patches/gemlib/CONFIGVARS.p b/m5475-atari-mint/recipes/patches/gemlib/CONFIGVARS.p
new file mode 100644
index 0000000..5692a21
--- /dev/null
+++ b/m5475-atari-mint/recipes/patches/gemlib/CONFIGVARS.p
@@ -0,0 +1,29 @@
+--- CONFIGVARS.orig 2012-10-11 17:55:52.000000000 +0100
++++ CONFIGVARS 2012-10-11 17:56:37.000000000 +0100
+@@ -1,8 +1,8 @@
+ #
+ #
+ # cross compiling
+-#CROSS = yes
+-CROSS = no
++CROSS = yes
++#CROSS = no
+
+ #
+ # build alternate libraries for processor variants
+@@ -15,13 +15,13 @@
+ #
+ ifeq ($(CROSS),yes)
+
+-CROSSPREFIX=m68k-atari-mint-
++CROSSPREFIX=m5475-atari-mint-
+
+ NATIVECC = gcc
+ NATIVECFLAGS = -O
+ CRLF = echo crlf -s
+
+-PREFIX=/usr/m68k-atari-mint
++PREFIX=/opt/netsurf/m5475-atari-mint/cross/m5475-atari-mint
+
+ else
+
diff --git a/m5475-atari-mint/recipes/patches/mintlib/configvars.p b/m5475-atari-mint/recipes/patches/mintlib/configvars.p
new file mode 100644
index 0000000..a135aa6
--- /dev/null
+++ b/m5475-atari-mint/recipes/patches/mintlib/configvars.p
@@ -0,0 +1,28 @@
+--- configvars 2012-10-11 16:56:15.000000000 +0100
++++ configvars 2012-10-11 16:57:32.000000000 +0100
+@@ -12,14 +12,14 @@
+ # get installed. You have to take car yourself that the libraries
+ # and include files and so on will get installed in the right place
+ # The easiest way to do this is to change "prefix", see below.
+-#CROSS=yes
++CROSS=yes
+
+ # Silent build or verbose
+ AM_DEFAULT_VERBOSITY = 1
+
+ # Define this to "m68k-atari-mint-" if you cross compile.
+ ifeq ($(CROSS),yes)
+- toolprefix=m68k-atari-mint-
++ toolprefix=m5475-atari-mint-
+ else
+ toolprefix=
+ endif
+@@ -47,7 +47,7 @@
+ # need be. When cross-compiling you will usually want to set this
+ # to "/usr/m68k-atari-mint".
+ ifeq ($(CROSS),yes)
+- prefix=/usr/m68k-atari-mint
++ prefix=/opt/netsurf/m5475-atari-mint/cross/m5475-atari-mint
+ else
+ prefix=/usr
+ endif
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)