changeset 386:90af6744d256

make install in target-utils: do mkdir -p before the install command
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 10 Jun 2014 18:48:21 +0000
parents 1cb7b2b6ce18
children 4391890bacd9
files target-utils/compalstage/Makefile target-utils/loadagent/Makefile
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/target-utils/compalstage/Makefile	Tue Jun 10 09:23:07 2014 +0000
+++ b/target-utils/compalstage/Makefile	Tue Jun 10 18:48:21 2014 +0000
@@ -21,6 +21,7 @@
 	${CC} -DTHUMB_ENTRY -c -o $@ $<
 
 install:
+	mkdir -p ${INSTDIR}
 	install -c ${TARGETS} ${INSTDIR}
 
 clean:
--- a/target-utils/loadagent/Makefile	Tue Jun 10 09:23:07 2014 +0000
+++ b/target-utils/loadagent/Makefile	Tue Jun 10 18:48:21 2014 +0000
@@ -28,6 +28,7 @@
 	${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@
 
 install:
+	mkdir -p ${INSTDIR}
 	install -c ${PROG}.srec ${INSTDIR}
 
 clean: