diff nuc-fw/finlink/Makefile @ 128:789a9a95533f

nuc-fw: more minor preparations for the big transition
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 01 Nov 2013 01:31:39 +0000
parents f459043fae0c
children 2c5160a9d652
line wrap: on
line diff
--- a/nuc-fw/finlink/Makefile	Thu Oct 31 23:08:59 2013 +0000
+++ b/nuc-fw/finlink/Makefile	Fri Nov 01 01:31:39 2013 +0000
@@ -9,8 +9,8 @@
 LIBGCC_A=	`${CC} -print-file-name=libgcc.a -mthumb-interwork`
 LIBGCC_T=	`${CC} -print-file-name=libgcc.a -mthumb-interwork -mthumb`
 
-LOCAL_LIBS=	../nucleus/libplus.iram.a ../nucleus/libplus.xip.a \
-		../sprintf/libsprintf.a
+LOCAL_LIBS=	../sprintf/libsprintf.a \
+		../nucleus/libplus.xip.a ../nucleus/libplus.iram.a
 
 INT_PIECES=	../sysglue/sysinit.o
 EXT_PIECES=	../nucdemo/demo.o
@@ -32,7 +32,7 @@
 
 ramImage.elf:	iramcode.o xipcode.o ${LOCAL_LIBS} ramImage.ld
 	${LD} -N -T ramImage.ld -o $@ -Map ramImage.map iramcode.o xipcode.o \
-		--start-group ${LOCAL_LIBS} --end-group \
+		${LOCAL_LIBS} \
 		--start-group ${LIBC_A} ${LIBGCC_A} --end-group
 
 ramImage.srec:	ramImage.elf