Home | History | Annotate | Line # | Download | only in conf
      1 # $NetBSD: gdbinit.mk,v 1.1 2015/08/29 16:27:07 uebayasi Exp $
      2 
      3 ##
      4 ## .gdbinit
      5 ##
      6 
      7 .include "${S}/gdbscripts/Makefile.inc"
      8 
      9 EXTRA_CLEAN+= .gdbinit
     10 .gdbinit: Makefile ${S}/gdbscripts/Makefile.inc
     11 	${_MKTARGET_CREATE}
     12 	rm -f .gdbinit
     13 .for __gdbinit in ${SYS_GDBINIT}
     14 	echo "source ${S}/gdbscripts/${__gdbinit}" >> .gdbinit
     15 .endfor
     16 .if defined(GDBINIT) && !empty(GDBINIT)
     17 .for __gdbinit in ${GDBINIT}
     18 	echo "source ${__gdbinit}" >> .gdbinit
     19 .endfor
     20 .endif
     21