1 # $NetBSD: Makefile,v 1.16 2011/12/17 10:15:04 sbd Exp $
7 MASTER_SITES
= ${MASTER_SITE_GNU
:=gdb
/}
9 MAINTAINER
= pkgsrc-users@NetBSD.org
10 COMMENT
= GNU gdb for Atmel AVR
8-bit RISC microcontrollers
14 CONFIGURE_ENV
+= CONFIG_LDFLAGS
=${LDFLAGS
:M
*:Q
}
15 CONFIGURE_ARGS
+= --target
=avr
16 CONFIGURE_ARGS
+= --program-prefix
=avr
18 INSTALLATION_DIRS
= bin
21 cd
${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
24 ${INSTALL_PROGRAM} ${WRKSRC}/gdb
/gdb
${DESTDIR}${PREFIX}/bin
/avr-gdb
26 .
include "../../mk/termcap.buildlink3.mk"
27 .
include "../../mk/bsd.pkg.mk"