diff options
author | Sven Wegener <swegener@gentoo.org> | 2022-04-23 21:20:00 +0200 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2022-04-23 21:35:41 +0200 |
commit | 58aeea2a8587f5f9875a7c50f83bbbb47c141f93 (patch) | |
tree | 0f18c0ebf9dceb4405ff591c38bc0bb9e6ee4f10 /dev-embedded/openocd | |
parent | dev-lang/jimtcl: Version bump to 0.81 (diff) | |
download | gentoo-58aeea2a8587f5f9875a7c50f83bbbb47c141f93.tar.gz gentoo-58aeea2a8587f5f9875a7c50f83bbbb47c141f93.tar.bz2 gentoo-58aeea2a8587f5f9875a7c50f83bbbb47c141f93.zip |
dev-embedded/openocd: Cleanup
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'dev-embedded/openocd')
-rw-r--r-- | dev-embedded/openocd/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/openocd/files/openocd-0.10.0-fno-common.patch | 11 | ||||
-rw-r--r-- | dev-embedded/openocd/openocd-0.10.0-r1.ebuild | 100 |
3 files changed, 0 insertions, 112 deletions
diff --git a/dev-embedded/openocd/Manifest b/dev-embedded/openocd/Manifest index 8c2977737e27..399fea8ec02c 100644 --- a/dev-embedded/openocd/Manifest +++ b/dev-embedded/openocd/Manifest @@ -1,2 +1 @@ -DIST openocd-0.10.0.tar.gz 6124274 BLAKE2B 3b455fce6c62626b507e8609789e95e6a542038605423400d08ad2d14d6db0953194bb22d893e3919c79ef02a1b43ccb6396d3370273e375d340c41b587bdfbf SHA512 44b303b0df1d7c13bc18b8995493de64fed7a853704455d484dfc4a74a1ba4b0d42b4679a7009ec015dc71c47152e5556a1a02665cfafe7af80c608b68d8310a DIST openocd-0.11.0.tar.gz 7233889 BLAKE2B 272088c261a066d0a99cbbf2ebbc324fc34bc168290bbf0beb4012655b6b54848cc48324f36c65860518160c3fe43abb8c9a5f5b03f0cbaf7cdfb928f8fb8eea SHA512 667c5bea4144653f7c1309457b3aed1e14713f222dab8f2bb67a8e6c69e124a0efc24cd8f76e2b929d4ced045de14517f3587870682d0394ec95ba52e343e19b diff --git a/dev-embedded/openocd/files/openocd-0.10.0-fno-common.patch b/dev-embedded/openocd/files/openocd-0.10.0-fno-common.patch deleted file mode 100644 index c924b2f8fec0..000000000000 --- a/dev-embedded/openocd/files/openocd-0.10.0-fno-common.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/jtag/drivers/bitbang.h -+++ b/src/jtag/drivers/bitbang.h -@@ -35,7 +35,7 @@ struct bitbang_interface { - void (*swdio_drive)(bool on); - }; - --const struct swd_driver bitbang_swd; -+extern const struct swd_driver bitbang_swd; - - extern bool swd_mode; - diff --git a/dev-embedded/openocd/openocd-0.10.0-r1.ebuild b/dev-embedded/openocd/openocd-0.10.0-r1.ebuild deleted file mode 100644 index 6c7a9d5bcfa7..000000000000 --- a/dev-embedded/openocd/openocd-0.10.0-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit udev - -if [[ ${PV} == *9999 ]] ; then - inherit autotools git-r3 - EGIT_REPO_URI=" https://repo.or.cz/openocd.git" -else - MY_PV="${PV/_/-}" - MY_P="${PN}-${MY_PV}" - S="${WORKDIR}"/${MY_P} - KEYWORDS="amd64 ~arm x86" - SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${MY_PV}/${MY_P}.tar.gz" -fi - -DESCRIPTION="OpenOCD - Open On-Chip Debugger" -HOMEPAGE="http://openocd.sourceforge.net" - -LICENSE="GPL-2+" -SLOT="0" -IUSE="+cmsis-dap dummy +ftdi +jlink parport +usb verbose-io" -RESTRICT="strip" # includes non-native binaries - -RDEPEND=" - acct-group/plugdev - >=dev-lang/jimtcl-0.76:0= - cmsis-dap? ( dev-libs/hidapi ) - jlink? ( dev-embedded/libjaylink ) - usb? ( - virtual/libusb:0 - virtual/libusb:1 - ) - ftdi? ( dev-embedded/libftdi:= )" - -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) - -src_prepare() { - default - - if [[ ${PV} == *9999 ]] ; then - AT_NO_RECURSIVE=yes eautoreconf - fi -} - -src_configure() { - local myconf=( - --enable-amtjtagaccel - --enable-arm-jtag-ew - --enable-at91rm9200 - --enable-bcm2835gpio - --enable-buspirate - --enable-ep93xx - --enable-gw16012 - --enable-sysfsgpio - --disable-internal-jimtcl - --disable-internal-libjaylink - --disable-werror - $(use_enable cmsis-dap) - $(use_enable dummy) - $(use_enable ftdi openjtag) - $(use_enable ftdi presto) - $(use_enable ftdi usb-blaster) - $(use_enable jlink) - $(use_enable parport) - $(use_enable parport parport_ppdev) - $(use_enable usb aice) - $(use_enable usb armjtagew) - $(use_enable usb ftdi) - $(use_enable usb osbdm) - $(use_enable usb opendous) - $(use_enable usb rlink) - $(use_enable usb stlink) - $(use_enable usb ti-icdi) - $(use_enable usb usbprog) - $(use_enable usb usb-blaster-2) - $(use_enable usb ulink) - $(use_enable usb vsllink) - $(use_enable verbose-io verbose-jtag-io) - $(use_enable verbose-io verbose-usb-io) - $(use_enable verbose-io verbose_usb_comms) - ) - - econf "${myconf[@]}" -} - -src_install() { - default - dostrip /usr/bin - udev_dorules "${ED}"/usr/share/${PN}/contrib/*.rules -} - -pkg_postinst() { - elog "To access openocd devices as user you must be in the plugdev group" -} |