commit
5d0742ec27
@ -0,0 +1 @@ |
|||||||
|
EBUILD stlink-9999.ebuild 794 SHA256 ae04620a6d2834126f113f34082e5f8be195b1ecd2778a9400802f770c07a833 SHA512 860927d395cf5894387083f4683656c92fef02a34f6acf9abca017580ce2fc112b0fd0142b20b9cac9f5e2a62586f8a31ed6bb0cb4475b712595d200188a8fde WHIRLPOOL b819f3da701ef8c812b53a18b5e81bec8045348601b8e9fd2544599c0d2fa50b118b191a8f670da868de07a6b181abb808a55395ad78674f977d4359d19a6cb6 |
@ -0,0 +1,37 @@ |
|||||||
|
# Copyright 1999-2015 Gentoo Foundation |
||||||
|
# Distributed under the terms of the GNU General Public License v2 |
||||||
|
# $Id$ |
||||||
|
|
||||||
|
EAPI=5 |
||||||
|
|
||||||
|
inherit git-r3 cmake-utils flag-o-matic linux-info |
||||||
|
|
||||||
|
DESCRIPTION="On board debugger driver for stm32-discovery boards" |
||||||
|
HOMEPAGE="https://github.com/texane/stlink" |
||||||
|
EGIT_REPO_URI="https://github.com/texane/stlink" |
||||||
|
|
||||||
|
LICENSE="BSD" |
||||||
|
SLOT="0" |
||||||
|
KEYWORDS="" |
||||||
|
IUSE="" |
||||||
|
|
||||||
|
RDEPEND=" |
||||||
|
virtual/libusb" |
||||||
|
DEPEND="$RDEPEND |
||||||
|
virtual/libusb |
||||||
|
virtual/pkgconfig" |
||||||
|
|
||||||
|
pkg_pretend() { |
||||||
|
if linux_config_exists; then |
||||||
|
if ! linux_chkconfig_module USB_STORAGE; then |
||||||
|
ewarn "You will need to rebuild usb-storage as a module for v1 stlink to work." |
||||||
|
fi |
||||||
|
fi |
||||||
|
} |
||||||
|
|
||||||
|
src_install() { |
||||||
|
enable_cmake-utils_src_install |
||||||
|
cp -r etc $D |
||||||
|
einfo "You may want to run \`udevadm control --reload-rules'." |
||||||
|
dodoc README.md |
||||||
|
} |
@ -0,0 +1 @@ |
|||||||
|
masters = gentoo |
@ -0,0 +1 @@ |
|||||||
|
tbm-toolchain-overlay |
@ -0,0 +1,4 @@ |
|||||||
|
DIST gcc-arm-none-eabi-4_9-2015q1-20150306-linux.tar.bz2 74404999 SHA256 c5e0025b065750bbd76b5357b4fc8606d88afbac9ff55b8a82927b4b96178154 SHA512 0e551c4159fd2fe29c8124396eab9856628426be76c2a5b06f503e7401f30c71d6fbccced2af24859a83c2ec78c28f5e50d79c5112d96d087f6d07b68ce73917 WHIRLPOOL 2aacc75be764126873311397aee6d630751bc54f0174e7efb3f7f404879084cbe7db87b55beb83368fedf30467dc5cf2825ac8b8c6239bd9e64a8c4cafe45143 |
||||||
|
DIST gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2 92820662 SHA256 a397c49bdd0cf17a38a494cb691baf68b8dcffa4d4c06561ef3d71b2ab4c92a1 SHA512 ec290fcb99249fcb2e7a53799a1d3f45da64ed8952ca5604221a85c610dcd8e8ca13db2048dc861f1dda4c904f8e5f9caeb774cb651742e6e1a72b0e4bd8d980 WHIRLPOOL 47a7b0e380876163f56c517bcd5379e4577b64215eee17a614c1536a5afba2a4e3938a185bff3bfe3e1167ce762a8528345636f8be37392015d02cf5bf0de38f |
||||||
|
EBUILD gcc-arm-embedded-bin-4.9_p20150306.ebuild 1151 SHA256 17aa0cc3095afae32677efbfac5b3c7eb71421600fcd7065a12251054a5e4f95 SHA512 e09df7bd9d6e8d80872fbbb5e0350b3fd3d4b1b6e53cc8797b3bdf1626e5db43d565ba5363ea8476178b8c429b292e536d495eba8ea0c4411ef31bed2e467963 WHIRLPOOL b96056b4cbea8f61712fd36a65cc76393a52294164e1cde4efa9494deffe8470da2d497008f3cd10a5486c9368ca5af66d98a9ee74ebdab249dc044386c2f30d |
||||||
|
EBUILD gcc-arm-embedded-bin-5.4_p20160926.ebuild 1149 SHA256 874480c072a94aedbea8a1e1e04e5f62a47d7814fd766c7800ef287bc8aab207 SHA512 ed6ca5803a272b72cdc650fa6160af503906926974b3710761b98ab5750ae9aee7d61e9436315372e17d1801dcd27fa591391e06e3a865f46a0b8e147acf729c WHIRLPOOL 21616b6f5296104b38010bd1439b94e57755cbdc6f407ed86350d85f502205804c0dda3b573b1dbefaf06009bcda27049566e1b57dd45608d4cf9494574fbda3 |
@ -0,0 +1,46 @@ |
|||||||
|
# Copyright 1999-2011 Gentoo Foundation |
||||||
|
# Distributed under the terms of the GNU General Public License v2 |
||||||
|
# $Header: $ |
||||||
|
|
||||||
|
EAPI=5 |
||||||
|
|
||||||
|
DESCRIPTION="Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors (Cortex-M0/M0+/M3/M4, Cortex-R4/R5/R7)." |
||||||
|
HOMEPAGE="https://launchpad.net/gcc-arm-embedded" |
||||||
|
SRC_URI="https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q1-update/+download/gcc-arm-none-eabi-4_9-2015q1-20150306-linux.tar.bz2" |
||||||
|
|
||||||
|
LICENSE="BSD GPL GPL-2 LGPL-2 LGPL-3 MIT NEWLIB ZLIB" |
||||||
|
SLOT="0" |
||||||
|
KEYWORDS="~amd64 ~x86 -*" |
||||||
|
IUSE="doc samples" |
||||||
|
RESTRICT="strip binchecks" |
||||||
|
|
||||||
|
DEPEND="" |
||||||
|
RDEPEND="amd64? ( sys-libs/glibc[multilib] )" |
||||||
|
|
||||||
|
S="${WORKDIR}"/gcc-arm-none-eabi-4_9-2015q1 |
||||||
|
|
||||||
|
src_install() { |
||||||
|
if ! use samples ; then |
||||||
|
rm -rf "${S}"/share/gcc-arm-none-eabi/samples |
||||||
|
fi |
||||||
|
if ! use doc ; then |
||||||
|
rm -rf "${S}"/share/doc |
||||||
|
fi |
||||||
|
|
||||||
|
dodir /opt/${PN} |
||||||
|
cp -r "${S}"/* "${ED}"/opt/${PN} || die "cp failed" |
||||||
|
fowners -R root:0 /opt/${PN} |
||||||
|
|
||||||
|
local DEST=/opt/${PN} |
||||||
|
cat > "${T}/env" << EOF |
||||||
|
PATH=${DEST}/bin |
||||||
|
ROOTPATH=${DEST}/bin |
||||||
|
LDPATH=${DEST}/lib |
||||||
|
MANPATH=${DEST}/share/doc/arm-arm-none-eabi/man |
||||||
|
EOF |
||||||
|
newenvd "${T}/env" 99gcc-arm-embedded-bin |
||||||
|
} |
||||||
|
|
||||||
|
pkg_postinst() { |
||||||
|
env-update |
||||||
|
} |
@ -0,0 +1,46 @@ |
|||||||
|
# Copyright 1999-2011 Gentoo Foundation |
||||||
|
# Distributed under the terms of the GNU General Public License v2 |
||||||
|
# $Header: $ |
||||||
|
|
||||||
|
EAPI=5 |
||||||
|
|
||||||
|
DESCRIPTION="Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors (Cortex-M0/M0+/M3/M4, Cortex-R4/R5/R7)." |
||||||
|
HOMEPAGE="https://launchpad.net/gcc-arm-embedded" |
||||||
|
SRC_URI="https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q3-update/+download/gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2" |
||||||
|
|
||||||
|
LICENSE="BSD GPL GPL-2 LGPL-2 LGPL-3 MIT NEWLIB ZLIB" |
||||||
|
SLOT="0" |
||||||
|
KEYWORDS="~amd64 ~x86 -*" |
||||||
|
IUSE="doc samples" |
||||||
|
RESTRICT="strip binchecks" |
||||||
|
|
||||||
|
DEPEND="" |
||||||
|
RDEPEND="amd64? ( sys-libs/glibc[multilib] )" |
||||||
|
|
||||||
|
S="${WORKDIR}"/gcc-arm-none-eabi-5_4-2016q3 |
||||||
|
|
||||||
|
src_install() { |
||||||
|
if ! use samples ; then |
||||||
|
rm -rf "${S}"/share/gcc-arm-none-eabi/samples |
||||||
|
fi |
||||||
|
if ! use doc ; then |
||||||
|
rm -rf "${S}"/share/doc |
||||||
|
fi |
||||||
|
|
||||||
|
dodir /opt/${PN} |
||||||
|
cp -r "${S}"/* "${ED}"/opt/${PN} || die "cp failed" |
||||||
|
fowners -R root:0 /opt/${PN} |
||||||
|
|
||||||
|
local DEST=/opt/${PN} |
||||||
|
cat > "${T}/env" << EOF |
||||||
|
PATH=${DEST}/bin |
||||||
|
ROOTPATH=${DEST}/bin |
||||||
|
LDPATH=${DEST}/lib |
||||||
|
MANPATH=${DEST}/share/doc/arm-arm-none-eabi/man |
||||||
|
EOF |
||||||
|
newenvd "${T}/env" 99gcc-arm-embedded-bin |
||||||
|
} |
||||||
|
|
||||||
|
pkg_postinst() { |
||||||
|
env-update |
||||||
|
} |
Loading…
Reference in new issue