diff target-utils/loadagent/Makefile @ 378:3164604a6c70

install compalstage-*.bin and loadagent.srec from target-utils
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 09 Jun 2014 06:10:01 +0000
parents 1c50add5e202
children 90af6744d256
line wrap: on
line diff
--- a/target-utils/loadagent/Makefile	Mon Jun 09 05:08:11 2014 +0000
+++ b/target-utils/loadagent/Makefile	Mon Jun 09 06:10:01 2014 +0000
@@ -4,6 +4,8 @@
 LD=	arm-elf-ld
 OBJCOPY=arm-elf-objcopy
 
+INSTDIR=/usr/local/share/freecalypso
+
 PROG=	loadagent
 OBJS=	crt0.o cmdtab.o main.o mygetchar.o
 LIBS=	../libcommon/libcommon.a ../libload/libload.a ../libprintf/libprintf.a
@@ -25,6 +27,9 @@
 ${PROG}.srec:	${PROG}.elf
 	${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@
 
+install:
+	install -c ${PROG}.srec ${INSTDIR}
+
 clean:
 	rm -f *.o *errs *core *.elf *.bin *.srec crt0.S