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_DESCR
:= programm debugger
10 PKG_SECTION
:= app
/debug
11 PKG_HASH
:= 605954d5747d5f08ea4b7f48e958d1ebbf39265e18f7f36738deeabb83744485
12 PKG_DEPENDS
:= libncurses zlib libexpat libthread-db
13 PKG_BUILDDEP
:= ncurses readline expat zlib
14 PKG_SITES
:= ${MASTER_SITE_GNU
:=gdb
/}
17 PKG_ARCH_DEPENDS
:= microblaze
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 TARGET_CFLAGS
+= ${TARGET_CPPFLAGS} -fPIC
24 CONFIGURE_ARGS
+= --without-uiout \
32 --without-included-gettext \
33 --without-auto-load-safe-path \
34 --disable-install-libiberty \
35 --disable-install-libbfd \
39 XAKE_FLAGS
+= LDFLAGS
='${TARGET_LDFLAGS}'
40 # disable honour cflags stuff
41 XAKE_FLAGS
+= GCC_HONOUR_COPTS
:=s
44 ${INSTALL_DIR} ${IDIR_GDB}/usr
/bin
45 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/gdb \
47 # shipped libbfd conflicts with system wide one
48 rm -f
${WRKINST}/usr
/lib
/libbfd
*
50 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk