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:
parent
417b673286
commit
017f0b4c3e
9 changed files with 17 additions and 17 deletions
|
@ -12,8 +12,8 @@ depends=""
|
|||
makedepends_build=""
|
||||
makedepends_host=""
|
||||
makedepends="gettext libtool autoconf automake bison"
|
||||
arch="all"
|
||||
license="GPL2 GPL3+ LGPL2 BSD"
|
||||
arch="armhf x86_64"
|
||||
license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD"
|
||||
subpackages=""
|
||||
source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2
|
||||
binutils-ld-fix-static-linking.patch
|
||||
|
|
|
@ -12,8 +12,8 @@ depends=""
|
|||
makedepends_build=""
|
||||
makedepends_host=""
|
||||
makedepends="gettext libtool autoconf automake bison"
|
||||
arch="all"
|
||||
license="GPL2 GPL3+ LGPL2 BSD"
|
||||
arch="aarch64 x86_64"
|
||||
license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD"
|
||||
subpackages=""
|
||||
source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2
|
||||
binutils-ld-fix-static-linking.patch
|
||||
|
|
|
@ -12,7 +12,7 @@ depends=""
|
|||
makedepends_build=""
|
||||
makedepends_host=""
|
||||
makedepends="gettext libtool autoconf automake bison"
|
||||
arch="all"
|
||||
arch="armhf aarch64"
|
||||
license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD"
|
||||
subpackages=""
|
||||
source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2
|
||||
|
|
|
@ -57,7 +57,7 @@ pkgname="gcc-aarch64"
|
|||
pkgrel=6
|
||||
pkgdesc="Stage2 cross-compiler for aarch64"
|
||||
url="http://gcc.gnu.org"
|
||||
arch="all"
|
||||
arch="armhf x86_64"
|
||||
license="GPL LGPL"
|
||||
_gccrel=$pkgver-r$pkgrel
|
||||
depends="isl binutils-aarch64"
|
||||
|
|
|
@ -57,7 +57,7 @@ pkgname="gcc-armhf"
|
|||
pkgrel=6
|
||||
pkgdesc="Stage2 cross-compiler for armhf"
|
||||
url="http://gcc.gnu.org"
|
||||
arch="all"
|
||||
arch="aarch64 x86_64"
|
||||
license="GPL LGPL"
|
||||
_gccrel=$pkgver-r$pkgrel
|
||||
depends="isl binutils-armhf"
|
||||
|
|
|
@ -57,7 +57,7 @@ pkgname="gcc-x86_64"
|
|||
pkgrel=6
|
||||
pkgdesc="Stage2 cross-compiler for x86_64"
|
||||
url="http://gcc.gnu.org"
|
||||
arch="all"
|
||||
arch="armhf aarch64"
|
||||
license="GPL LGPL"
|
||||
_gccrel=$pkgver-r$pkgrel
|
||||
depends="isl binutils-x86_64"
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
# Automatically generated aport, do not edit!
|
||||
# Generator: pmbootstrap aportgen musl-aarch64
|
||||
|
||||
pkgname=musl-aarch64
|
||||
pkgver=1.1.18
|
||||
pkgname="musl-aarch64"
|
||||
pkgver="1.1.18"
|
||||
pkgrel=5
|
||||
arch="armhf x86_64"
|
||||
subpackages="musl-dev-aarch64:package_dev"
|
||||
|
||||
_arch="aarch64"
|
||||
|
@ -11,7 +12,6 @@ _mirror="https://nl.alpinelinux.org/alpine/"
|
|||
|
||||
url="https://musl-libc.org"
|
||||
license="MIT"
|
||||
arch="all"
|
||||
options="!check !strip"
|
||||
pkgdesc="the musl library (lib c) implementation for $_arch"
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
# Automatically generated aport, do not edit!
|
||||
# Generator: pmbootstrap aportgen musl-armhf
|
||||
|
||||
pkgname=musl-armhf
|
||||
pkgver=1.1.18
|
||||
pkgname="musl-armhf"
|
||||
pkgver="1.1.18"
|
||||
pkgrel=5
|
||||
arch="aarch64 x86_64"
|
||||
subpackages="musl-dev-armhf:package_dev"
|
||||
|
||||
_arch="armhf"
|
||||
|
@ -11,7 +12,6 @@ _mirror="https://nl.alpinelinux.org/alpine/"
|
|||
|
||||
url="https://musl-libc.org"
|
||||
license="MIT"
|
||||
arch="all"
|
||||
options="!check !strip"
|
||||
pkgdesc="the musl library (lib c) implementation for $_arch"
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
# Automatically generated aport, do not edit!
|
||||
# Generator: pmbootstrap aportgen musl-x86_64
|
||||
|
||||
pkgname=musl-x86_64
|
||||
pkgver=1.1.18
|
||||
pkgname="musl-x86_64"
|
||||
pkgver="1.1.18"
|
||||
pkgrel=5
|
||||
arch="armhf aarch64"
|
||||
subpackages="musl-dev-x86_64:package_dev"
|
||||
|
||||
_arch="x86_64"
|
||||
|
@ -11,7 +12,6 @@ _mirror="http://dl-cdn.alpinelinux.org/alpine/"
|
|||
|
||||
url="https://musl-libc.org"
|
||||
license="MIT"
|
||||
arch="all"
|
||||
options="!check !strip"
|
||||
pkgdesc="the musl library (lib c) implementation for $_arch"
|
||||
|
||||
|
|
Loading…
Reference in a new issue