gdb: update to 8.1
[openadk.git] / package / gdb / Makefile
blob1a121c7e79a228180b654234b748c9a5e8680f55
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= gdb
7 PKG_VERSION:= 8.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34
10 PKG_DESCR:= programm debugger
11 PKG_SECTION:= app/debug
12 PKG_SITES:= ${MASTER_SITE_GNU:=gdb/}
13 PKG_DEPENDS:= libncurses zlib libexpat libthread-db
14 PKG_BUILDDEP:= ncurses readline expat zlib
15 PKG_NEEDS:= c++
17 PKG_ARCH_DEPENDS:= !cris !avr32 !nios2 !microblaze !or1k
19 include ${ADK_TOPDIR}/mk/package.mk
21 $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 XAKE_FLAGS+= MAKEINFO=true
25 # --enable-static is required to build libbfd.a
26 CONFIGURE_ARGS+= --enable-static \
27 --without-uiout \
28 --disable-tui \
29 --disable-gdbtk \
30 --disable-gdbserver \
31 --without-x \
32 --disable-sim \
33 --disable-plugins \
34 --disable-werror \
35 --without-python \
36 --without-included-gettext \
37 --without-auto-load-safe-path \
38 --disable-install-libiberty \
39 --disable-install-libbfd \
40 --with-system-zlib \
41 --with-curses \
42 --enable-gdbmi
44 gdb-install:
45 ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
46 ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb \
47 ${IDIR_GDB}/usr/bin/
49 include ${ADK_TOPDIR}/mk/pkg-bottom.mk