From c570f2fdc775556f1c7ca0142b5396d204310cc8 Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 21 Jan 2004 08:23:46 +0000 Subject: The gdbinit.${MACHINE_ARCH} script may not exist. --- sys/conf/kern.post.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys') diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 8dc8317..dcdafa4 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -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} -- cgit v1.1