pkgsrc/cross/avr-gdb/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.21 2015/08/18 07:31:04 wiz Exp $
DISTNAME= gdb-7.6.1
Bump GDB version from 5.3 to 7.6 (pkgsrc) patches/patch-a[abd] Removed, seems the problems no longer exist patches/patch-ac Comment added. patches/patch-bfd_bfd-in2_h Added to build with clang patches/patch-opcodes_configure Added (revert to 7.5.1, Bad substitution) (upstream) GDB 7.6 Released (2013/04/26) http://sourceware.org/ml/gdb-announce/2013/msg00000.html --------------------------- GDB 7.6 brings new targets, features and improvements, including: * New native configurations: ARM AArch64 GNU/Linux aarch64*-*-linux-gnu FreeBSD/powerpc powerpc*-*-freebsd x86_64/Cygwin x86_64-*-cygwin* Tilera TILE-Gx GNU/Linux tilegx*-*-linux-gnu * New target configurations: ARM AArch64 aarch64*-*-elf ARM AArch64 GNU/Linux aarch64*-*-linux Lynx 178 PowerPC powerpc-*-lynx*178 x86_64/Cygwin x86_64-*-cygwin* Tilera TILE-Gx GNU/Linux tilegx*-*-linux * New configure options: -enable-libmcheck/--disable-libmcheck * Support for the "mini debuginfo" section, .gnu_debugdata * The C++ ABI now defaults to the GNU v3 ABI. This has been the default for GCC since November 2000. * New command line option: -nh (disables auto-loading of ~/.gdbinit) * Various GDB/MI changes * Python scripting: ** Vectors can be created with gdb.Type.vector. ** Python's atexit.register now works in GDB. ** Types can be pretty-printed via a Python API. ** Python 3 is now supported (in addition to Python 2.4 or later) ** New class gdb.Architecture exposes GDB's internal representation of architecture in the Python API. ** New method Frame.architecture returns the gdb.Architecture object corresponding to the frame's architecture. ** New Python-based convenience functions ($_memeq, $_streq, $_strlen and $_regex) * The 'cd' command now defaults to using '~' (the home directory) if not given an argument. * New commands: ** catch signal ** maint info bfds ** python-interactive ** enable/disable type-printer * New remote packets (QTBuffer:size, Qbtrace:bts, Qbtrace:off and qXfer:btrace:read) * New options: ** set/show print type methods (on|off) ** set/show print type typedefs (on|off) ** set/show filename-display basename|relative|absolute ** set/show trace-buffer-size ** set/show remote trace-buffer-size-packet auto|on|off ** set/show debug aarch64 ** set/show debug coff-pe-read ** set/show debug mach-o ** set/show debug notification * target record: The "target record" command has been renamed to "target record-full", and a new "target record-btrace" has been added. This new target uses hardward support to record the control-flow of a process. Execution replay is not supported, but this targets allows investigating the program's recorded execution. For a complete list and more details on each item, please see the gdb/NEWS file. --------------------------- GDB 7.5 released! (2012-08-17) http://sourceware.org/ml/gdb-announce/2012/msg00004.html GDB 7.4 released! (2012-01-24) http://sourceware.org/ml/gdb-announce/2012/msg00001.html GDB 7.4 released! (2011-07-26) http://sourceware.org/ml/gdb-announce/2011/msg00001.html Other older release date: http://www.gnu.org/software/gdb/schedule/
2013-08-07 07:34:14 +02:00
PKGNAME= ${DISTNAME:S/^/avr-/}
PKGREVISION= 1
CATEGORIES= cross
2004-08-06 18:31:09 +02:00
MASTER_SITES= ${MASTER_SITE_GNU:=gdb/}
MAINTAINER= pkgsrc-users@NetBSD.org
2003-07-22 20:09:12 +02:00
COMMENT= GNU gdb for Atmel AVR 8-bit RISC microcontrollers
Bump GDB version from 5.3 to 7.6 (pkgsrc) patches/patch-a[abd] Removed, seems the problems no longer exist patches/patch-ac Comment added. patches/patch-bfd_bfd-in2_h Added to build with clang patches/patch-opcodes_configure Added (revert to 7.5.1, Bad substitution) (upstream) GDB 7.6 Released (2013/04/26) http://sourceware.org/ml/gdb-announce/2013/msg00000.html --------------------------- GDB 7.6 brings new targets, features and improvements, including: * New native configurations: ARM AArch64 GNU/Linux aarch64*-*-linux-gnu FreeBSD/powerpc powerpc*-*-freebsd x86_64/Cygwin x86_64-*-cygwin* Tilera TILE-Gx GNU/Linux tilegx*-*-linux-gnu * New target configurations: ARM AArch64 aarch64*-*-elf ARM AArch64 GNU/Linux aarch64*-*-linux Lynx 178 PowerPC powerpc-*-lynx*178 x86_64/Cygwin x86_64-*-cygwin* Tilera TILE-Gx GNU/Linux tilegx*-*-linux * New configure options: -enable-libmcheck/--disable-libmcheck * Support for the "mini debuginfo" section, .gnu_debugdata * The C++ ABI now defaults to the GNU v3 ABI. This has been the default for GCC since November 2000. * New command line option: -nh (disables auto-loading of ~/.gdbinit) * Various GDB/MI changes * Python scripting: ** Vectors can be created with gdb.Type.vector. ** Python's atexit.register now works in GDB. ** Types can be pretty-printed via a Python API. ** Python 3 is now supported (in addition to Python 2.4 or later) ** New class gdb.Architecture exposes GDB's internal representation of architecture in the Python API. ** New method Frame.architecture returns the gdb.Architecture object corresponding to the frame's architecture. ** New Python-based convenience functions ($_memeq, $_streq, $_strlen and $_regex) * The 'cd' command now defaults to using '~' (the home directory) if not given an argument. * New commands: ** catch signal ** maint info bfds ** python-interactive ** enable/disable type-printer * New remote packets (QTBuffer:size, Qbtrace:bts, Qbtrace:off and qXfer:btrace:read) * New options: ** set/show print type methods (on|off) ** set/show print type typedefs (on|off) ** set/show filename-display basename|relative|absolute ** set/show trace-buffer-size ** set/show remote trace-buffer-size-packet auto|on|off ** set/show debug aarch64 ** set/show debug coff-pe-read ** set/show debug mach-o ** set/show debug notification * target record: The "target record" command has been renamed to "target record-full", and a new "target record-btrace" has been added. This new target uses hardward support to record the control-flow of a process. Execution replay is not supported, but this targets allows investigating the program's recorded execution. For a complete list and more details on each item, please see the gdb/NEWS file. --------------------------- GDB 7.5 released! (2012-08-17) http://sourceware.org/ml/gdb-announce/2012/msg00004.html GDB 7.4 released! (2012-01-24) http://sourceware.org/ml/gdb-announce/2012/msg00001.html GDB 7.4 released! (2011-07-26) http://sourceware.org/ml/gdb-announce/2011/msg00001.html Other older release date: http://www.gnu.org/software/gdb/schedule/
2013-08-07 07:34:14 +02:00
LICENSE= gnu-gpl-v3
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
CONFIGURE_ARGS+= --target=avr
CONFIGURE_ARGS+= --program-prefix=avr
CONFIGURE_ARGS+= --with-curses
# elfread.c is to be included in init.c to support bfd_target_elf_flavour
CONFIGURE_ENV+= gdb_cv_var_elf=yes
MAKE_ENV+= gdb_cv_var_elf=yes
# Native gdb has following lines also activated
#CONFIGURE_ENV+= gdb_cv_struct_lwp=yes
#MAKE_ENV+= gdb_cv_struct_lwp=yes
INSTALLATION_DIRS= bin
Bump GDB version from 5.3 to 7.6 (pkgsrc) patches/patch-a[abd] Removed, seems the problems no longer exist patches/patch-ac Comment added. patches/patch-bfd_bfd-in2_h Added to build with clang patches/patch-opcodes_configure Added (revert to 7.5.1, Bad substitution) (upstream) GDB 7.6 Released (2013/04/26) http://sourceware.org/ml/gdb-announce/2013/msg00000.html --------------------------- GDB 7.6 brings new targets, features and improvements, including: * New native configurations: ARM AArch64 GNU/Linux aarch64*-*-linux-gnu FreeBSD/powerpc powerpc*-*-freebsd x86_64/Cygwin x86_64-*-cygwin* Tilera TILE-Gx GNU/Linux tilegx*-*-linux-gnu * New target configurations: ARM AArch64 aarch64*-*-elf ARM AArch64 GNU/Linux aarch64*-*-linux Lynx 178 PowerPC powerpc-*-lynx*178 x86_64/Cygwin x86_64-*-cygwin* Tilera TILE-Gx GNU/Linux tilegx*-*-linux * New configure options: -enable-libmcheck/--disable-libmcheck * Support for the "mini debuginfo" section, .gnu_debugdata * The C++ ABI now defaults to the GNU v3 ABI. This has been the default for GCC since November 2000. * New command line option: -nh (disables auto-loading of ~/.gdbinit) * Various GDB/MI changes * Python scripting: ** Vectors can be created with gdb.Type.vector. ** Python's atexit.register now works in GDB. ** Types can be pretty-printed via a Python API. ** Python 3 is now supported (in addition to Python 2.4 or later) ** New class gdb.Architecture exposes GDB's internal representation of architecture in the Python API. ** New method Frame.architecture returns the gdb.Architecture object corresponding to the frame's architecture. ** New Python-based convenience functions ($_memeq, $_streq, $_strlen and $_regex) * The 'cd' command now defaults to using '~' (the home directory) if not given an argument. * New commands: ** catch signal ** maint info bfds ** python-interactive ** enable/disable type-printer * New remote packets (QTBuffer:size, Qbtrace:bts, Qbtrace:off and qXfer:btrace:read) * New options: ** set/show print type methods (on|off) ** set/show print type typedefs (on|off) ** set/show filename-display basename|relative|absolute ** set/show trace-buffer-size ** set/show remote trace-buffer-size-packet auto|on|off ** set/show debug aarch64 ** set/show debug coff-pe-read ** set/show debug mach-o ** set/show debug notification * target record: The "target record" command has been renamed to "target record-full", and a new "target record-btrace" has been added. This new target uses hardward support to record the control-flow of a process. Execution replay is not supported, but this targets allows investigating the program's recorded execution. For a complete list and more details on each item, please see the gdb/NEWS file. --------------------------- GDB 7.5 released! (2012-08-17) http://sourceware.org/ml/gdb-announce/2012/msg00004.html GDB 7.4 released! (2012-01-24) http://sourceware.org/ml/gdb-announce/2012/msg00001.html GDB 7.4 released! (2011-07-26) http://sourceware.org/ml/gdb-announce/2011/msg00001.html Other older release date: http://www.gnu.org/software/gdb/schedule/
2013-08-07 07:34:14 +02:00
TEST_TARGET= check
pre-configure:
cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
do-install:
2010-02-14 21:34:58 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${DESTDIR}${PREFIX}/bin/avr-gdb
# to link -lcurses.7 => /usr/lib/libcurses.so.7
# instead of terminfo
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"