aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarian Buschsieweke <marian.buschsieweke@ovgu.de>2019-10-15 10:51:08 +0200
committerMilan P. Stanić <mps@arvanta.net>2019-11-13 14:00:55 +0100
commit7d989d745a09fd352495857f98c6b1d2518b9d22 (patch)
treeeff82d170c0f1eedf1dca0324fe9467d533a5678
parent1b1e213651ca0ad4f020c5f9bdb4eccf8e8334b6 (diff)
downloadaports-7d989d745a09fd352495857f98c6b1d2518b9d22.tar.bz2
aports-7d989d745a09fd352495857f98c6b1d2518b9d22.tar.xz
testing/gcc-cross-embedded-stage1: upgrade to 9.2.0
- Upgrade to version 9.2.0 - Removed unneeded curly braces when accessing variables - Removed unneeded cd $builddir
-rw-r--r--testing/gcc-cross-embedded-stage1/APKBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/testing/gcc-cross-embedded-stage1/APKBUILD b/testing/gcc-cross-embedded-stage1/APKBUILD
index 22b38c8c2e..e16f75422f 100644
--- a/testing/gcc-cross-embedded-stage1/APKBUILD
+++ b/testing/gcc-cross-embedded-stage1/APKBUILD
@@ -12,31 +12,30 @@ _targets="
msp430-elf
"
pkgname="$_pkgbase-cross-embedded-stage1"
-pkgver=8.3.0
+pkgver=9.2.0
pkgrel=0
pkgdesc="The GNU Compiler Collection for embedded targets"
url="http://gcc.gnu.org"
depends="gcc"
makedepends="bash linux-headers gmp-dev mpfr-dev mpc1-dev zlib-dev"
arch="all"
-license="GPL-2.0 GPL-3.0-or-later LGPL-2.0"
+license="GPL-3.0+"
for target in $_targets; do
targetnorm="${target//-/_}"
- subpackages="${_pkgbase}-${target}-stage1:${targetnorm} ${subpackages}"
+ subpackages="$_pkgbase-$target-stage1:$targetnorm $subpackages"
makedepends="$makedepends binutils-$target"
done
_islver=0.20
source="
https://mirrors.kernel.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz
- http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
+ http://isl.gforge.inria.fr/isl-$_islver.tar.bz2
"
options="!check"
builddir="$srcdir/$_pkgbase-$pkgver"
prepare() {
- cd "$builddir"
# link isl for in-tree build
ln -s "$srcdir"/isl-"$_islver" isl
@@ -92,7 +91,7 @@ _build_gcc() {
build() {
for target in $_targets; do
- workingdir="${srcdir}/build-${target}"
+ workingdir="$srcdir/build-$target"
mkdir "$workingdir"
cd "$workingdir"
export CFLAGS_FOR_TARGET='-pipe -Os -ffunction-sections -fdata-sections'
@@ -105,15 +104,15 @@ package() {
for target in $_targets; do
depends="$depends $_pkgbase-$target"
done
- mkdir -p "${pkgdir}"
+ mkdir -p "$pkgdir"
}
_install_subpkg() {
- target="${subpkgname#${_pkgbase}-}"
+ target="${subpkgname#$_pkgbase-}"
target="${target%-stage1}"
pkgdesc="The GNU Compiler Collection for $target targets"
depends="$depends binutils-$target"
- workingdir="${srcdir}/build-${target}"
+ workingdir="$srcdir/build-$target"
cd "$workingdir"
make install DESTDIR="$subpkgdir" -j1
@@ -141,5 +140,5 @@ msp430_elf() {
_install_subpkg
}
-sha512sums="1811337ae3add9680cec64968a2509d085b6dc5b6783fc1e8c295e3e47416196fd1a3ad8dfe7e10be2276b4f62c357659ce2902f239f60a8648548231b4b5802 gcc-8.3.0.tar.xz
+sha512sums="a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040 gcc-9.2.0.tar.xz
afe2e159b74646a26449268637403d271f9e3f6410d8cc1c9cffca41370c4357b165dea844db0c2a654591f954e54710dda650c8088abd4711406aa6302da950 isl-0.20.tar.bz2"