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
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
17 PKG_ARCH_DEPENDS
:= !cris
!avr32
!nios2
!microblaze
!or1k
!riscv32
!riscv64
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 \
36 --without-included-gettext \
37 --without-auto-load-safe-path \
38 --disable-install-libiberty \
39 --disable-install-libbfd \
45 ${INSTALL_DIR} ${IDIR_GDB}/usr
/bin
46 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/gdb \
49 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk