[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Patch: Force CPU and MODEL for fec.xif



Hello,

I think this patch doesn't affect other modules and is enough to compile the fec.xif for Coldfire and link it against libkernv4e. When libkern for v4e isn't present, it will be build first. ( that's Makefile magic =) ).

Any problems with the patch?

Otherwise,the commit comment is: Force v4e build

Greets,
m

Index: Makefile
===================================================================
RCS file: /mint/freemint/sys/sockets/xif/fec/Makefile,v
retrieving revision 1.1
diff -a -u -r1.1 Makefile
--- Makefile	11 Nov 2011 00:15:37 -0000	1.1
+++ Makefile	16 Nov 2011 19:54:34 -0000
@@ -27,7 +27,8 @@
 
 LD = $(CC) -mshort -nostdlib -Wl,--entry -Wl,_init
 LIBS = $(LIBKERN) -lgcc
-CPU="020-60"
+CPU=v4e
+MODEL = -mcpu=5475
 
 # default definitions
 OBJS = $(addsuffix .o, $(basename $(notdir $(FECDMA_SRCS) $(COMMON_SRCS))))