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
7 PKG_VERSION
:= riscv-gdb-8.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 \
32 --without-included-gettext \
33 --without-auto-load-safe-path \
34 --disable-install-libiberty \
35 --disable-install-libbfd \
40 ${INSTALL_DIR} ${IDIR_GDB}/usr
/bin
41 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/gdb \
44 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk