binutils: fix default
[openadk.git] / package / gdb-riscv / Makefile
blobe73baf80b143a7bfc803cacb5b942934d93fc79c
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:= riscv-gdb-8.1
8 PKG_GIT:= branch
9 PKG_RELEASE:= 1
10 PKG_DESCR:= programm debugger
11 PKG_SECTION:= app/debug
12 PKG_HASH:= 605954d5747d5f08ea4b7f48e958d1ebbf39265e18f7f36738deeabb83744485
13 PKG_DEPENDS:= libncurses zlib libexpat libthread-db
14 PKG_BUILDDEP:= ncurses readline expat zlib
15 PKG_SITES:= https://github.com/riscv/riscv-binutils-gdb.git
17 PKG_ARCH_DEPENDS:= 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 CONFIGURE_ARGS+= --enable-static \
24 --without-uiout \
25 --disable-tui \
26 --disable-gdbtk \
27 --disable-gdbserver \
28 --without-x \
29 --disable-sim \
30 --disable-werror \
31 --without-python \
32 --without-included-gettext \
33 --without-auto-load-safe-path \
34 --disable-install-libiberty \
35 --disable-install-libbfd \
36 --with-curses \
37 --enable-gdbmi
39 gdb-install:
40 ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
41 ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb \
42 ${IDIR_GDB}/usr/bin/
44 include ${ADK_TOPDIR}/mk/pkg-bottom.mk