From 1d541b45f4fd11c51a88a6abb81a78bf57b44b11 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 12 Oct 2012 11:47:49 +0100 Subject: add coldfire (m5475) toolchain/sdk build --- m5475-atari-mint/recipes/patches/pml/Makefile.32.p | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 m5475-atari-mint/recipes/patches/pml/Makefile.32.p (limited to 'm5475-atari-mint/recipes/patches/pml/Makefile.32.p') 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) -- cgit v1.2.3