Don't compile cross-compiler packages for the host arch

Example: Building gcc-armhf for armhf does not make sense, so this
commit changes arch="all" to arch="aarch64 x86_64". This helps to
simplify the repository scripts (#970).
This commit is contained in:
Oliver Smith 2018-01-20 19:17:23 +01:00
parent 417b673286
commit 017f0b4c3e
9 changed files with 17 additions and 17 deletions

View file

@ -12,8 +12,8 @@ depends=""
makedepends_build="" makedepends_build=""
makedepends_host="" makedepends_host=""
makedepends="gettext libtool autoconf automake bison" makedepends="gettext libtool autoconf automake bison"
arch="all" arch="armhf x86_64"
license="GPL2 GPL3+ LGPL2 BSD" license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD"
subpackages="" subpackages=""
source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2 source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2
binutils-ld-fix-static-linking.patch binutils-ld-fix-static-linking.patch

View file

@ -12,8 +12,8 @@ depends=""
makedepends_build="" makedepends_build=""
makedepends_host="" makedepends_host=""
makedepends="gettext libtool autoconf automake bison" makedepends="gettext libtool autoconf automake bison"
arch="all" arch="aarch64 x86_64"
license="GPL2 GPL3+ LGPL2 BSD" license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD"
subpackages="" subpackages=""
source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2 source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2
binutils-ld-fix-static-linking.patch binutils-ld-fix-static-linking.patch

View file

@ -12,7 +12,7 @@ depends=""
makedepends_build="" makedepends_build=""
makedepends_host="" makedepends_host=""
makedepends="gettext libtool autoconf automake bison" makedepends="gettext libtool autoconf automake bison"
arch="all" arch="armhf aarch64"
license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD" license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD"
subpackages="" subpackages=""
source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2 source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2

View file

@ -57,7 +57,7 @@ pkgname="gcc-aarch64"
pkgrel=6 pkgrel=6
pkgdesc="Stage2 cross-compiler for aarch64" pkgdesc="Stage2 cross-compiler for aarch64"
url="http://gcc.gnu.org" url="http://gcc.gnu.org"
arch="all" arch="armhf x86_64"
license="GPL LGPL" license="GPL LGPL"
_gccrel=$pkgver-r$pkgrel _gccrel=$pkgver-r$pkgrel
depends="isl binutils-aarch64" depends="isl binutils-aarch64"

View file

@ -57,7 +57,7 @@ pkgname="gcc-armhf"
pkgrel=6 pkgrel=6
pkgdesc="Stage2 cross-compiler for armhf" pkgdesc="Stage2 cross-compiler for armhf"
url="http://gcc.gnu.org" url="http://gcc.gnu.org"
arch="all" arch="aarch64 x86_64"
license="GPL LGPL" license="GPL LGPL"
_gccrel=$pkgver-r$pkgrel _gccrel=$pkgver-r$pkgrel
depends="isl binutils-armhf" depends="isl binutils-armhf"

View file

@ -57,7 +57,7 @@ pkgname="gcc-x86_64"
pkgrel=6 pkgrel=6
pkgdesc="Stage2 cross-compiler for x86_64" pkgdesc="Stage2 cross-compiler for x86_64"
url="http://gcc.gnu.org" url="http://gcc.gnu.org"
arch="all" arch="armhf aarch64"
license="GPL LGPL" license="GPL LGPL"
_gccrel=$pkgver-r$pkgrel _gccrel=$pkgver-r$pkgrel
depends="isl binutils-x86_64" depends="isl binutils-x86_64"

View file

@ -1,9 +1,10 @@
# Automatically generated aport, do not edit! # Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen musl-aarch64 # Generator: pmbootstrap aportgen musl-aarch64
pkgname=musl-aarch64 pkgname="musl-aarch64"
pkgver=1.1.18 pkgver="1.1.18"
pkgrel=5 pkgrel=5
arch="armhf x86_64"
subpackages="musl-dev-aarch64:package_dev" subpackages="musl-dev-aarch64:package_dev"
_arch="aarch64" _arch="aarch64"
@ -11,7 +12,6 @@ _mirror="https://nl.alpinelinux.org/alpine/"
url="https://musl-libc.org" url="https://musl-libc.org"
license="MIT" license="MIT"
arch="all"
options="!check !strip" options="!check !strip"
pkgdesc="the musl library (lib c) implementation for $_arch" pkgdesc="the musl library (lib c) implementation for $_arch"

View file

@ -1,9 +1,10 @@
# Automatically generated aport, do not edit! # Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen musl-armhf # Generator: pmbootstrap aportgen musl-armhf
pkgname=musl-armhf pkgname="musl-armhf"
pkgver=1.1.18 pkgver="1.1.18"
pkgrel=5 pkgrel=5
arch="aarch64 x86_64"
subpackages="musl-dev-armhf:package_dev" subpackages="musl-dev-armhf:package_dev"
_arch="armhf" _arch="armhf"
@ -11,7 +12,6 @@ _mirror="https://nl.alpinelinux.org/alpine/"
url="https://musl-libc.org" url="https://musl-libc.org"
license="MIT" license="MIT"
arch="all"
options="!check !strip" options="!check !strip"
pkgdesc="the musl library (lib c) implementation for $_arch" pkgdesc="the musl library (lib c) implementation for $_arch"

View file

@ -1,9 +1,10 @@
# Automatically generated aport, do not edit! # Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen musl-x86_64 # Generator: pmbootstrap aportgen musl-x86_64
pkgname=musl-x86_64 pkgname="musl-x86_64"
pkgver=1.1.18 pkgver="1.1.18"
pkgrel=5 pkgrel=5
arch="armhf aarch64"
subpackages="musl-dev-x86_64:package_dev" subpackages="musl-dev-x86_64:package_dev"
_arch="x86_64" _arch="x86_64"
@ -11,7 +12,6 @@ _mirror="http://dl-cdn.alpinelinux.org/alpine/"
url="https://musl-libc.org" url="https://musl-libc.org"
license="MIT" license="MIT"
arch="all"
options="!check !strip" options="!check !strip"
pkgdesc="the musl library (lib c) implementation for $_arch" pkgdesc="the musl library (lib c) implementation for $_arch"