diff target-utils/helloapp/Makefile @ 14:f0501c4a8790

helloapp (proto-loadagent) compiles with r8/r16/r32 implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 03 May 2013 06:52:36 +0000
parents 40f607bb0a2c
children e7ba9fcb3637
line wrap: on
line diff
--- a/target-utils/helloapp/Makefile	Fri May 03 06:42:03 2013 +0000
+++ b/target-utils/helloapp/Makefile	Fri May 03 06:52:36 2013 +0000
@@ -5,8 +5,8 @@
 OBJCOPY=arm-elf-objcopy
 
 PROG=	helloapp
-OBJS=	crt0.o main.o mygetchar.o
-LIBS=	../libprintf/libprintf.a ../libcommon/libcommon.a
+OBJS=	crt0.o cmdtab.o main.o mygetchar.o
+LIBS=	../libcommon/libcommon.a ../libprintf/libprintf.a
 LDS=	../env/iram.lds
 
 TC_LIBS=`${CC} -print-file-name=libc.a` \
@@ -18,7 +18,8 @@
 	ln -s $< .
 
 ${PROG}.elf:	${OBJS} ${LIBS} ${LDS}
-	${LD} -N --defsym stack_bottom=0x83FFFC -T ${LDS} -o $@ ${OBJS} ${LIBS}\
+	${LD} -N --defsym stack_bottom=0x83FFFC -T ${LDS} -o $@ ${OBJS} \
+		--start-group ${LIBS} --end-group \
 		--start-group ${TC_LIBS} --end-group
 
 ${PROG}.srec:	${PROG}.elf