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
:= 38254eacd4572134bca9c5a5aa4d4ca564cbbd30c369d881f733fb6b903354f2
10 PKG_DESCR
:= remote program debugger utility
11 PKG_SECTION
:= app
/debug
13 PKG_SITES
:= ${MASTER_SITE_GNU
:=gdb
/}
14 PKG_DEPENDS
:= libthread-db libgmp
17 PKG_LIBC_DEPENDS
:= !musl
18 PKG_ARCH_DEPENDS
:= !microblaze
!nds32
20 ifeq ($(ADK_TOOLCHAIN_GDB_6_7_1
),y
)
21 DISTFILES
:= gdb-6.7
.1-avr32-2.1
.5.
tar.bz2
22 WRKDIST
= $(WRKDIR
)/gdb-6.7
.1-avr32-2.1
.5
24 DISTFILES
:= gdb-
${PKG_VERSION}.
tar.xz
25 WRKDIST
= ${WRKDIR}/gdb-
${PKG_VERSION}
27 WRKBUILD
= ${WRKSRC}/build
29 include ${ADK_TOPDIR}/mk
/package.mk
31 $(eval
$(call PKG_template
,GDBSERVER
,gdbserver
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
33 CONFIGURE_ARGS
+= --enable-static \
40 ${INSTALL_DIR} ${IDIR_GDBSERVER}/usr
/bin
41 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/gdbserver
${IDIR_GDBSERVER}/usr
/bin
/
43 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk