libgloss: fix more missing dir with parallel install
Depending on the processing order of rules when installing in parallel, these install rules might be processed before some other rule happens to create the respective dirs. Make sure each one creates the needed dirs before installing into them.
This commit is contained in:
parent
580817ec01
commit
502cf4b7b5
|
@ -41,6 +41,8 @@ MULTIDIR_semihv2m_NAME = -v2m
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -219,32 +221,40 @@ install: ${CRT0_INSTALL} ${LINUX_INSTALL} ${REDBOOT_INSTALL} ${RDPMON_INSTALL} $
|
|||
$(MAKE) $(AM_MAKEFLAGS) install-recursive
|
||||
|
||||
install-nano:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${NANO_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-crt0:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x
|
||||
|
||||
install-linux:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${LINUX_CRT0} ${LINUX_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
set -e; for x in ${LINUX_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-redboot:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${REDBOOT_CRT0} ${REDBOOT_OBJS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
set -e; for x in ${REDBOOT_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-rdpmon:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${RDPMON_CRT0} ${RDPMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
set -e; for x in ${RDPMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-rdimon:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${RDIMON_CRT0} ${RDIMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
set -e; for x in ${RDIMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
|
||||
install-pid:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${PID_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-iq80310:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${IQ80310_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
|
||||
|
@ -259,4 +269,4 @@ Makefile: Makefile.in config.status @host_makefile_frag_path@
|
|||
config.status: configure
|
||||
$(SHELL) config.status --recheck
|
||||
|
||||
include $(srcdir)/../multi-build.in
|
||||
include $(srcdir)/../multi-build.in
|
||||
|
|
|
@ -30,6 +30,8 @@ MULTISUBDIR =
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -127,11 +129,13 @@ distclean maintainer-clean realclean: clean
|
|||
install: ${CRT_INSTALL} ${SIM_INSTALL} ${H_INSTALL}
|
||||
|
||||
install-crt:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${CRT} ; do\
|
||||
${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
|
||||
done
|
||||
|
||||
install-sim:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
for x in ${SIM_BSP} ; do\
|
||||
${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
|
||||
done
|
||||
|
@ -140,6 +144,7 @@ install-sim:
|
|||
done
|
||||
|
||||
install-hndl:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
for x in ${H_BSP}; do\
|
||||
${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
|
||||
done
|
||||
|
|
|
@ -30,6 +30,8 @@ MULTISUBDIR =
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -203,6 +205,7 @@ install: ${SIM_INSTALL} ${BSP_INSTALL} ${LIN_INSTALL}
|
|||
# Note that bsp and elinux objects are exclusive: do not overlap
|
||||
# installed files.
|
||||
install-bsp:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
case "${MULTISUBDIR}" in \
|
||||
*/elinux) ;; \
|
||||
*) set -e; \
|
||||
|
@ -212,12 +215,14 @@ install-bsp:
|
|||
esac
|
||||
|
||||
install-sim:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; \
|
||||
for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do \
|
||||
${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
|
||||
done
|
||||
|
||||
install-lin:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
case "${MULTISUBDIR}" in \
|
||||
*/elinux) \
|
||||
${INSTALL_DATA} ${LIN_CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/crt0.o; \
|
||||
|
|
|
@ -30,6 +30,8 @@ MULTISUBDIR =
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -127,11 +129,13 @@ distclean maintainer-clean realclean: clean
|
|||
install: ${CRT_INSTALL} ${SIM_INSTALL} ${H_INSTALL}
|
||||
|
||||
install-crt:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${CRT} ; do\
|
||||
${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
|
||||
done
|
||||
|
||||
install-sim:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
for x in ${SIM_BSP} ; do\
|
||||
${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
|
||||
done
|
||||
|
@ -140,6 +144,7 @@ install-sim:
|
|||
done
|
||||
|
||||
install-hndl:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
for x in ${H_BSP}; do\
|
||||
${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
|
||||
done
|
||||
|
|
|
@ -44,6 +44,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -100,12 +102,14 @@ crt0.o: $(CRT0)
|
|||
|
||||
.PHONY: install info dvi doc install-info clean-info
|
||||
install:: $(DO:%=install_%) crt0.o
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_PROGRAM) crt0.o $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(crt0.o)
|
||||
|
||||
$(DO:%=install_%): install_hosted
|
||||
|
||||
.PHONY:install_hosted
|
||||
install_hosted::
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_PROGRAM) $(HOSTED_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(HOSTED_BSP)
|
||||
|
||||
# target specific makefile fragment comes in here.
|
||||
|
|
|
@ -45,6 +45,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -115,6 +117,7 @@ distclean maintainer-clean realclean: clean
|
|||
install: ${SIM_INSTALL}
|
||||
|
||||
install-sim:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
doc:
|
||||
|
|
|
@ -29,6 +29,8 @@ MULTISUBDIR =
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -126,10 +128,12 @@ distclean maintainer-clean realclean: clean
|
|||
install: ${SIM_INSTALL}
|
||||
|
||||
install-mon:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-sim:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib
|
||||
set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done
|
||||
|
||||
doc:
|
||||
|
|
|
@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -104,6 +106,7 @@ sim-write.o: $(srcdir)/sim-write.S
|
|||
stat.o: $(srcdir)/stat.c
|
||||
|
||||
install: $($(CPU)_INSTALL)
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
|
||||
$(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP)
|
||||
|
||||
|
|
|
@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -105,6 +107,7 @@ sim-write.o: $(srcdir)/sim-write.S
|
|||
stat.o: $(srcdir)/stat.c
|
||||
|
||||
install: $($(CPU)_INSTALL)
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
|
||||
$(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP)
|
||||
for x in ${LD_SCRIPTS}; do \
|
||||
|
|
|
@ -42,6 +42,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -101,6 +103,7 @@ hpstub: $(OBJS)
|
|||
$(OBJS) -lc -m >stub.map
|
||||
|
||||
install:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib/${MULTISUBDIR}
|
||||
$(INSTALL_PROGRAM) $(STUBLIB) $(DESTDIR)$(tooldir)/lib/$(MULTISUBDIR)$(STUBLIB)
|
||||
$(INSTALL_PROGRAM) $(SHARED_DIR)/$(STUBCRT0) $(DESTDIR)$(tooldir)/lib/$(MULTISUBDIR)$(STUBCRT0)
|
||||
$(INSTALL_PROGRAM) $(srcdir)/$(LDSCRIPT) $(DESTDIR)$(tooldir)/lib/$(LDSCRIPT)
|
||||
|
|
|
@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
#AS = @AS@
|
||||
|
@ -103,6 +105,7 @@ distclean maintainer-clean realclean: clean
|
|||
|
||||
.PHONY: install info install-info clean-info
|
||||
install:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
|
||||
@for bsp in ${BSP}; do\
|
||||
$(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
|
||||
|
|
|
@ -29,6 +29,8 @@ MULTISUBDIR =
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -125,10 +127,12 @@ distclean maintainer-clean realclean: clean
|
|||
install: ${MON_INSTALL}
|
||||
|
||||
install-mon:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-sim:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib
|
||||
set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done
|
||||
|
||||
doc:
|
||||
|
|
|
@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
#AS = @AS@
|
||||
|
@ -122,6 +124,7 @@ distclean maintainer-clean realclean: clean
|
|||
|
||||
.PHONY: install info install-info clean-info
|
||||
install:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
|
||||
@for bsp in ${BSP}; do\
|
||||
$(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
|
||||
|
|
|
@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -175,12 +177,14 @@ utime.o : $(SDEPS)
|
|||
write.o : $(SDEPS)
|
||||
|
||||
install: $(CRT) $(SIM_BSP) $(M32C_BSP) $(SCRIPTS)
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
for c in $(CRT) $(SIM_BSP) $(M32C_BSP); do \
|
||||
$(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
|
||||
done
|
||||
for c in $(SCRIPTS); do \
|
||||
$(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
|
||||
done
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/include
|
||||
for c in $(HEADERS); do \
|
||||
$(INSTALL_DATA) ${srcdir}/$$c \
|
||||
$(DESTDIR)$(tooldir)/include/$$c ;\
|
||||
|
|
|
@ -46,6 +46,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -141,6 +143,7 @@ distclean maintainer-clean realclean: clean
|
|||
|
||||
.PHONY: install info install-info clean-info
|
||||
install: install-scripts
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
|
||||
@for bsp in ${BSP}; do\
|
||||
$(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
|
||||
|
@ -148,6 +151,7 @@ install: install-scripts
|
|||
|
||||
# Install the linker script in the correct place.
|
||||
install-scripts:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
if [ -f ${objroot}/../binutils/objdump ] ; then \
|
||||
objdump="${objroot}/../binutils/objdump"; \
|
||||
else \
|
||||
|
|
|
@ -45,6 +45,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -409,6 +411,7 @@ install:: $(DO:%=install_%)
|
|||
|
||||
.PHONY:install_m68k
|
||||
install_m68k::
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
# install SIM stuff
|
||||
$(INSTALL_PROGRAM) $(SIM_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_CRT0)
|
||||
$(INSTALL_PROGRAM) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP)
|
||||
|
@ -435,6 +438,7 @@ install_m68k::
|
|||
|
||||
.PHONY: install_cf
|
||||
install_cf:: install_io
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
# install CF stuff
|
||||
$(INSTALL_DATA) $(CF_CRT0S) $(CF_BSP) \
|
||||
$(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
|
||||
|
@ -447,6 +451,7 @@ endif
|
|||
|
||||
.PHONY: install_fido
|
||||
install_fido:: install_io
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_DATA) $(FIDO_CRT0S) $(FIDO_BSP) \
|
||||
$(DESTDIR)$(tooldir)/lib$(MULTISUBDIR)
|
||||
$(INSTALL_DATA) $(FIDO_SCRIPTS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
|
||||
|
@ -459,6 +464,7 @@ endif
|
|||
|
||||
.PHONY: install_io
|
||||
install_io::
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
# install IO stuff
|
||||
$(INSTALL_DATA) $(HOSTED_BSP) $(UNHOSTED_BSP) \
|
||||
$(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
|
||||
|
|
|
@ -29,6 +29,8 @@ MULTISUBDIR =
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -125,10 +127,12 @@ distclean maintainer-clean realclean: clean
|
|||
install: ${SIM_INSTALL} ${MON_INSTALL}
|
||||
|
||||
install-mon:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${MON_PREFIX}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-sim:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
doc:
|
||||
|
|
|
@ -42,6 +42,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -98,6 +100,7 @@ simnovec-crt0.o: $(srcdir)/simnovec-crt0.S $(srcdir)/sim-crt0.S
|
|||
crtn.o: $(srcdir)/crtn.S $(srcdir)/sim-crtn.S
|
||||
|
||||
install: $(CRT) $(SIM_BSP)
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
for c in $(CRT) $(SIM_BSP); do \
|
||||
$(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
|
||||
done
|
||||
|
|
|
@ -60,6 +60,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -99,6 +101,7 @@ CPU = @CPU@
|
|||
all: ${CRT} ${LIB} ${LINUX_BSP}
|
||||
|
||||
install: ${CRT} ${LIB} install-linux
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
@for crt in ${CRT}; do \
|
||||
$(INSTALL_PROGRAM) $${crt} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${crt}; \
|
||||
done
|
||||
|
@ -106,6 +109,7 @@ install: ${CRT} ${LIB} install-linux
|
|||
$(INSTALL_PROGRAM) $(srcdir)/${SCRIPTS} $(DESTDIR)$(tooldir)/lib/
|
||||
|
||||
install-linux: ${LINUX_BSP}
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_PROGRAM) ${LINUX_BSP} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
|
||||
set -e; for x in ${LINUX_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
#AS = @AS@
|
||||
|
@ -122,6 +124,7 @@ distclean maintainer-clean realclean: clean
|
|||
|
||||
.PHONY: install info install-info clean-info
|
||||
install:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
|
||||
@for bsp in ${BSP}; do\
|
||||
$(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
|
||||
|
|
|
@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -129,6 +131,7 @@ stat.o: $(srcdir)/stat.c
|
|||
qemu-write.o: $(srcdir)/qemu-write.c
|
||||
|
||||
install: ${CRT0_INSTALL} $($(CPU)_INSTALL)
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP)
|
||||
$(INSTALL_DATA) $(QEMU_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(QEMU_BSP)
|
||||
for x in ${LD_SCRIPTS}; do \
|
||||
|
@ -136,6 +139,7 @@ install: ${CRT0_INSTALL} $($(CPU)_INSTALL)
|
|||
done;
|
||||
|
||||
install-crt0:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x
|
||||
|
||||
clean mostlyclean:
|
||||
|
|
|
@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -102,6 +104,7 @@ crt0-ms2.o: $(srcdir)/crt0-ms2.S
|
|||
trap.o: $(srcdir)/trap.S
|
||||
|
||||
install: $($(CPU)_INSTALL)
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
for c in $(CRT0); do \
|
||||
$(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ; \
|
||||
done;
|
||||
|
|
|
@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -92,6 +94,7 @@ $(HOSTED_BSP): crt0.o io-nios2.o $(HOSTED_OBJS) $(OTHER_OBJS)
|
|||
|
||||
.PHONY: install info dvi doc install-info clean-info
|
||||
install::
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_DATA) $(HOSTED_BSP) \
|
||||
$(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
|
||||
for x in ${BSP_SCRIPTS}; do\
|
||||
|
|
|
@ -42,6 +42,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
AS = @AS@
|
||||
AR = @AR@
|
||||
|
@ -126,8 +128,8 @@ distclean maintainer-clean realclean: clean
|
|||
|
||||
.PHONY: install info install-info clean-info
|
||||
install:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(DESTDIR)$(tooldir)/include
|
||||
@for outputs in ${OUTPUTS}; do\
|
||||
mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
|
||||
$(INSTALL_DATA) $${outputs} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
|
||||
done
|
||||
$(INSTALL_DATA) ${srcdir}/include/or1k-support.h $(DESTDIR)$(tooldir)/include/
|
||||
|
|
|
@ -40,6 +40,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -129,6 +131,7 @@ distclean maintainer-clean realclean: clean
|
|||
|
||||
.PHONY: install info install-info clean-info
|
||||
install:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
|
||||
# install Oki stuff
|
||||
$(INSTALL_PROGRAM) $(OKI_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(OKI_BSP)
|
||||
|
|
|
@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -135,6 +137,7 @@ utime.o : $(SDEPS)
|
|||
write.o : $(SDEPS)
|
||||
|
||||
install: $(CRT) $(SIM_BSP) $(SCRIPTS)
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
for c in $(CRT) $(SIM_BSP); do \
|
||||
$(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
|
||||
done
|
||||
|
|
|
@ -45,6 +45,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -355,30 +357,38 @@ distclean maintainer-clean realclean: clean
|
|||
install: ${SIM_INSTALL} ${MVME_INSTALL} ${SOLARIS_INSTALL} ${LINUX_INSTALL} ${YELLOWKNIFE_INSTALL} ${ADS_INSTALL} ${MBX_INSTALL} ${XIL_INSTALL}
|
||||
|
||||
install-sim:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-mvme:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${MVME_CRT0} ${MVME_BSP} ${MVME_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-solaris:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${SOLARIS_CRT0} ${SOLARIS_BSP} ${SOLARIS_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-linux:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${LINUX_CRT0} ${LINUX_BSP} ${LINUX_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-yellowknife:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${YELLOWKNIFE_CRT0} ${YELLOWKNIFE_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
set -e; for x in ${YELLOWKNIFE_SCRIPTS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-ads:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${ADS_CRT0} ${ADS_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
set -e; for x in ${ADS_SCRIPTS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-mbx:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${MBX_CRT0} ${MBX_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
set -e; for x in ${MBX_SCRIPTS} ${MBX_SPECS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||
|
||||
install-xil:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${XIL_CRT0} ${XIL_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done
|
||||
set -e; for x in ${XIL_SCRIPTS} ${XIL_SPECS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib/$$x; done
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -138,6 +140,7 @@ utime.o : $(SDEPS)
|
|||
write.o : $(SDEPS)
|
||||
|
||||
install: $(CRT) $(SIM_BSP) $(SCRIPTS)
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
for c in $(CRT) $(SIM_BSP); do \
|
||||
$(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
|
||||
done
|
||||
|
|
|
@ -29,6 +29,8 @@ MULTISUBDIR =
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -105,6 +107,7 @@ distclean maintainer-clean realclean: clean
|
|||
install: ${SIM_INSTALL}
|
||||
|
||||
install-sim:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e;\
|
||||
for x in ${SIM_CRT0} ${SIM_BSP}; do\
|
||||
${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x;\
|
||||
|
|
|
@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -130,6 +132,7 @@ wait.o: $(srcdir)/wait.c
|
|||
write.o: $(srcdir)/write.c
|
||||
|
||||
install: $($(CPU)_INSTALL)
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
$(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
|
||||
$(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP)
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -108,6 +110,7 @@ distclean maintainer-clean realclean: clean
|
|||
|
||||
.PHONY: install info install-info clean-info
|
||||
install:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
@for bsp in ${BSP}; do\
|
||||
$(INSTALL_DATA) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
|
||||
done
|
||||
|
|
|
@ -42,6 +42,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
#AS = @AS@
|
||||
|
@ -118,6 +120,7 @@ distclean maintainer-clean realclean: clean
|
|||
|
||||
.PHONY: install info install-info clean-info
|
||||
install:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
@for crt in ${CRT0}; do \
|
||||
$(INSTALL_PROGRAM) $${crt} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${crt}; \
|
||||
done
|
||||
|
|
|
@ -29,6 +29,8 @@ MULTISUBDIR =
|
|||
|
||||
SHELL = /bin/sh
|
||||
|
||||
mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
|
||||
|
||||
CC = @CC@
|
||||
|
||||
AS = @AS@
|
||||
|
@ -111,6 +113,7 @@ distclean maintainer-clean realclean: clean
|
|||
|
||||
.PHONY: install info install-info clean-info
|
||||
install:
|
||||
${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
|
||||
set -e; for x in ${SIM_BSP} ${CRT} ${EVA_APP_BSP} ${EVA_STUB_HEX} ${EVA_STUB} ; do\
|
||||
${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue