nodm: add new package
[openadk.git] / package / gdb / Makefile
blob321c8e72eefe58aa905edcc3604dbc1099bfa140
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.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= f6a24ffe4917e67014ef9273eb8b547cb96a13e5ca74895b06d683b391f3f4ee
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 !m68k !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 # --enable-static is required to build libbfd.a
24 CONFIGURE_ARGS+= --enable-static \
25 --without-uiout \
26 --disable-tui \
27 --disable-gdbtk \
28 --disable-gdbserver \
29 --without-x \
30 --disable-sim \
31 --disable-plugins \
32 --disable-werror \
33 --without-python \
34 --without-included-gettext \
35 --without-auto-load-safe-path \
36 --disable-install-libiberty \
37 --disable-install-libbfd \
38 --with-system-zlib \
39 --with-curses \
40 --enable-gdbmi
42 gdb-install:
43 ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
44 ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb \
45 ${IDIR_GDB}/usr/bin/
47 include ${ADK_TOPDIR}/mk/pkg-bottom.mk