python3: update to 3.11.10
[openadk.git] / package / gdbserver / Makefile
blob40a2e4111a5137b859ce7c6bfafdc23857286c50
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:= gdbserver
7 PKG_VERSION:= 15.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 38254eacd4572134bca9c5a5aa4d4ca564cbbd30c369d881f733fb6b903354f2
10 PKG_DESCR:= remote program debugger utility
11 PKG_SECTION:= app/debug
12 PKG_NEEDS:= c++
13 PKG_SITES:= ${MASTER_SITE_GNU:=gdb/}
14 PKG_DEPENDS:= libthread-db libgmp
15 PKG_BUILDDEP:= gmp
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
23 else
24 DISTFILES:= gdb-${PKG_VERSION}.tar.xz
25 WRKDIST= ${WRKDIR}/gdb-${PKG_VERSION}
26 endif
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 \
34 --disable-gdb \
35 --disable-sim \
36 --without-curses \
37 --without-system-zlib
39 gdbserver-install:
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