# HG changeset patch # User Mychaela Falconia # Date 1493673425 0 # Node ID b81176fe68a71325f9546b0c890f887db84914f5 # Parent 59de85ae94a796dcf95049f1816a36fbba8e35ca target-utils/flash-boot-wa/Makefile: install added diff -r 59de85ae94a7 -r b81176fe68a7 target-utils/flash-boot-wa/Makefile --- a/target-utils/flash-boot-wa/Makefile Mon May 01 21:02:58 2017 +0000 +++ b/target-utils/flash-boot-wa/Makefile Mon May 01 21:17:05 2017 +0000 @@ -4,6 +4,8 @@ LD= arm-elf-ld OBJCOPY=arm-elf-objcopy +INSTDIR=/opt/freecalypso/target-bin + PROG= flash-boot-wa LDS= ../env/iram.lds @@ -15,6 +17,10 @@ ${PROG}.srec: ${PROG}.elf ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@ +install: + mkdir -p ${INSTDIR} + install -c -m 644 ${PROG}.srec ${INSTDIR} + clean: rm -f *.o *errs *core *.elf *.bin *.srec