diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-12-22 21:58:24 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-12-23 12:04:38 +0100 |
commit | c392b8ec5837042ae808da94112c3b09e9615c1f (patch) | |
tree | af37471671fd80cd2f7035e032b8e7f6d1d07609 | |
parent | 9f82ad09dc612628777be55de83cee04dfbd102b (diff) | |
download | aports-c392b8ec5837042ae808da94112c3b09e9615c1f.tar.bz2 aports-c392b8ec5837042ae808da94112c3b09e9615c1f.tar.xz |
testing/gdb-embedded: remove aport
This aport provided GDB builds with support for various "embedded"
architectures. This is now superseded by gdb-multiarch which provides
support for all architectures supported by GDB.
See also: https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2290#note_58412
-rw-r--r-- | testing/gdb-embedded/APKBUILD | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/testing/gdb-embedded/APKBUILD b/testing/gdb-embedded/APKBUILD deleted file mode 100644 index 5749470e5e..0000000000 --- a/testing/gdb-embedded/APKBUILD +++ /dev/null @@ -1,102 +0,0 @@ -# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de> -_pkgbase=gdb -_targets=" - arm-none-eabi - avr - mips-mti-elf - msp430-elf - " -pkgname="$_pkgbase-embedded" -pkgver=8.3.1 -pkgrel=0 -pkgdesc="The GNU Debugger for embedded targets" -url="https://www.sourceware.org/gdb/" -arch="all" -license="GPL-2.0-only GPL-2.0-or-later GPL-3.0-only GPL-3.0-or-later LGPL-2.1-only" -depends="gdb" -makedepends=" - autoconf - automake - expat-dev - libtool - linux-headers - ncurses-dev - perl - python3-dev - readline-dev - texinfo - zlib-dev - " -options="!check" -source="https://ftp.gnu.org/gnu/$_pkgbase/$_pkgbase-$pkgver.tar.xz" -for target in $_targets; do - targetnorm="${target//-/_}" - subpackages="$_pkgbase-$target:$targetnorm $subpackages" -done -builddir="$srcdir"/$_pkgbase-$pkgver - -build() { - for target in $_targets; do - mkdir -p "$srcdir/build/$target" - cd "$srcdir/build/$target" - - "$builddir/configure" \ - --target=$target \ - --prefix=/usr \ - --mandir=/deleteme/man \ - --infodir=/deleteme/info \ - --pdfdir=/deleteme/pdf \ - --htmldir=/deleteme/html \ - --disable-nls \ - --disable-werror \ - --enable-interwork \ - --enable-languages=c,c++ \ - --enable-multilib \ - --with-python=/usr/bin/python3 \ - --with-system-gdbinit=/etc/gdb/gdbinit \ - --with-system-readline \ - --with-system-zlib - make - done -} - -package() { - for target in $_targets; do - depends="$depends $_pkgbase-$target" - done - mkdir -p "$pkgdir" -} - -_install_subpkg() { - target="${subpkgname#$_pkgbase-}" - pkgdesc="The GNU Debugger for $target" - cd "$srcdir/build/$target" - make DESTDIR="$subpkgdir" install - - rm -rf "$subpkgdir"/deleteme - - # those are provided by gdb - rm -rf "${subpkgdir:?}"/usr/share - # those are provided by binutils - rm -rf "${subpkgdir:?}"/usr/include - rm -rf "${subpkgdir:?}"/usr/lib -} - -arm_none_eabi() { - _install_subpkg -} - -avr() { - _install_subpkg -} - -mips_mti_elf() { - _install_subpkg -} - -msp430_elf() { - _install_subpkg -} - - -sha512sums="9053a2dc6b9eb921907afbc4cecc75d635aa76df5e8c4f0e5824ccf57cb206b299c19b127fff000b65c334826ff8304a54ff6098428365a8e997cca886c39e9a gdb-8.3.1.tar.xz" |