The gdbinit.${MACHINE_ARCH} script may not exist.

This commit is contained in:
Ruslan Ermilov 2004-01-21 08:23:46 +00:00
parent e878e0085f
commit c7301f9132

View File

@ -61,9 +61,11 @@ gdbinit:
sed "s:MODPATH:${.OBJDIR}/modules:" > .gdbinit
cp ${S}/../tools/debugscripts/gdbinit.kernel \
${S}/../tools/debugscripts/gdbinit.vinum ${.CURDIR}
.if exists(${S}/../tools/debugscripts/gdbinit.${MACHINE_ARCH})
cp ${S}/../tools/debugscripts/gdbinit.${MACHINE_ARCH} \
${.CURDIR}/gdbinit.machine
.endif
.endif
${FULLKERNEL}: ${SYSTEM_DEP} vers.o
@rm -f ${.TARGET}