b4e46a1d2c
Add local patches to support the ATmega256x controller family that features a 3-byte PC. patch-atmega256x-binutils is Bjoern Haase's backported binutils patch for the ATmega256x (stripped down to those GNU binutils directories that are present in the GDB source tree), while patch-atmega256x-gdb is my own one to modify the AVR backend in GDB to understand 3-byte PCs.
31 lines
679 B
Makefile
31 lines
679 B
Makefile
# Ports collection makefile for: avr-gdb
|
|
# Date created: 3 Sep 2002
|
|
# Whom: Joerg Wunsch <joerg@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gdb
|
|
PORTVERSION= 6.5
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
|
|
MASTER_SITE_SUBDIR= gdb/releases
|
|
PKGNAMEPREFIX= avr-
|
|
DISTNAME= gdb-${PORTVERSION}
|
|
|
|
MAINTAINER= joerg@FreeBSD.org
|
|
COMMENT= GNU GDB for the AVR target
|
|
|
|
USE_GMAKE= yes
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --target=avr --program-prefix=avr --disable-nls
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
|
|
${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|