From 6d944be55139460e3b91cf2567e66eb010916776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 12 Aug 2017 16:15:53 +0200 Subject: Add avr compiler --- .../opentx-companion-2.2.0-r1.ebuild | 20 ++++++++++++++++++++ cross-avr/binutils | 1 + cross-avr/gcc | 1 + cross-avr/gdb | 1 + cross-avr/glibc | 1 + cross-avr/linux-headers | 1 + profiles/dev-avr/package.accept_keywords | 4 ++++ profiles/dev-avr/package.use | 3 +++ profiles/dev-avr/packages | 4 ++++ profiles/dev-avr/parent | 1 + 10 files changed, 37 insertions(+) create mode 100644 app-misc/opentx-companion/opentx-companion-2.2.0-r1.ebuild create mode 120000 cross-avr/binutils create mode 120000 cross-avr/gcc create mode 120000 cross-avr/gdb create mode 120000 cross-avr/glibc create mode 120000 cross-avr/linux-headers create mode 100644 profiles/dev-avr/package.accept_keywords create mode 100644 profiles/dev-avr/package.use create mode 100644 profiles/dev-avr/packages create mode 100644 profiles/dev-avr/parent diff --git a/app-misc/opentx-companion/opentx-companion-2.2.0-r1.ebuild b/app-misc/opentx-companion/opentx-companion-2.2.0-r1.ebuild new file mode 100644 index 0000000..b252bee --- /dev/null +++ b/app-misc/opentx-companion/opentx-companion-2.2.0-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="EEPROM Editor for OpenTX RC transmitter firmwares" +HOMEPAGE="http://www.open-tx.org/" +SRC_URI="https://github.com/opentx/opentx/archive/$PV.tar.gz" + +LICENSE="GPL" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} dev-util/cmake dev-cpp/xsd sys-devel/bc dev-lang/python avr-gcc" + +src_prepare() { + epatch "${FILESDIR}/Fix-install-strip.patch" +} diff --git a/cross-avr/binutils b/cross-avr/binutils new file mode 120000 index 0000000..0f98435 --- /dev/null +++ b/cross-avr/binutils @@ -0,0 +1 @@ +/usr/portage/sys-devel/binutils \ No newline at end of file diff --git a/cross-avr/gcc b/cross-avr/gcc new file mode 120000 index 0000000..8e0883f --- /dev/null +++ b/cross-avr/gcc @@ -0,0 +1 @@ +/usr/portage/sys-devel/gcc \ No newline at end of file diff --git a/cross-avr/gdb b/cross-avr/gdb new file mode 120000 index 0000000..0ab6bdc --- /dev/null +++ b/cross-avr/gdb @@ -0,0 +1 @@ +/usr/portage/sys-devel/gdb \ No newline at end of file diff --git a/cross-avr/glibc b/cross-avr/glibc new file mode 120000 index 0000000..a5553b0 --- /dev/null +++ b/cross-avr/glibc @@ -0,0 +1 @@ +/usr/portage/sys-libs/glibc \ No newline at end of file diff --git a/cross-avr/linux-headers b/cross-avr/linux-headers new file mode 120000 index 0000000..6523839 --- /dev/null +++ b/cross-avr/linux-headers @@ -0,0 +1 @@ +/usr/portage/sys-kernel/linux-headers \ No newline at end of file diff --git a/profiles/dev-avr/package.accept_keywords b/profiles/dev-avr/package.accept_keywords new file mode 100644 index 0000000..211405a --- /dev/null +++ b/profiles/dev-avr/package.accept_keywords @@ -0,0 +1,4 @@ +cross-avr/binutils * -amd64 -~amd64 +cross-avr/gcc * -amd64 -~amd64 +cross-avr/avr-libc * -amd64 -~amd64 +cross-avr/gdb * ~* -amd64 -~amd64 diff --git a/profiles/dev-avr/package.use b/profiles/dev-avr/package.use new file mode 100644 index 0000000..d81a3a1 --- /dev/null +++ b/profiles/dev-avr/package.use @@ -0,0 +1,3 @@ +cross-avr/binutils -selinux multilib +cross-avr/avr-libc -selinux multilib +cross-avr/gcc -fortran -go -selinux -boundschecking -d -gcj -gtk -libffi -mudflap -objc -objc++ -objc-gc multilib diff --git a/profiles/dev-avr/packages b/profiles/dev-avr/packages new file mode 100644 index 0000000..c7b61c8 --- /dev/null +++ b/profiles/dev-avr/packages @@ -0,0 +1,4 @@ +cross-avr/binutils +cross-avr/gcc +cross-avr/avr-libc +cross-avr/gdb diff --git a/profiles/dev-avr/parent b/profiles/dev-avr/parent new file mode 100644 index 0000000..cd3828d --- /dev/null +++ b/profiles/dev-avr/parent @@ -0,0 +1 @@ +../devel -- cgit v1.2.3