libgloss: bfin: fix subdir install for sim files
When building in parallel, make sure the subdir for the sim files exist before trying to install into them.
This commit is contained in:
parent
dcb25665be
commit
dfa088ab66
|
@ -175,6 +175,7 @@ distclean maintainer-clean realclean: clean
|
||||||
install: ${SIM_INSTALL} ${BOARD_INSTALL}
|
install: ${SIM_INSTALL} ${BOARD_INSTALL}
|
||||||
|
|
||||||
install-sim:
|
install-sim:
|
||||||
|
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||||
for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do \
|
for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do \
|
||||||
${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x || exit $$?; \
|
${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x || exit $$?; \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue