*/gcc6*: add symlinks for all binutils [skip ci]
I thought only having specific symlinks was enough, and it was for one kernel. However, to make sure it works with all kernels, let's just add symlinks for all the binutils.
This commit is contained in:
parent
7e89296ab4
commit
1b78e64748
4 changed files with 12 additions and 8 deletions
|
@ -24,7 +24,7 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
|||
|
||||
pkgname="gcc6-aarch64"
|
||||
pkgver=6.4.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Stage2 cross-compiler for aarch64"
|
||||
url="http://gcc.gnu.org"
|
||||
arch="armhf x86_64 x86"
|
||||
|
@ -421,7 +421,8 @@ package() {
|
|||
# Link binutils to gcc6-* (so 'CROSS_COMPILE=gcc6-...' works)
|
||||
echo "Link binutils to gcc6-*"
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
for i in "ld" "ar" "nm" "objcopy" "objdump"; do
|
||||
for i in "elfedit" "gprof" "addr2line" "strings" "as" "ld" "size" "ld.bfd" \
|
||||
"readelf" "nm" "ar" "strip" "dwp" "objdump" "objcopy" "c++filt" "ranlib"; do
|
||||
ln -sv "/usr/bin/$CTARGET-$i" \
|
||||
"$pkgdir/usr/bin/gcc6-$CTARGET-$i"
|
||||
done
|
||||
|
|
|
@ -24,7 +24,7 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
|||
|
||||
pkgname="gcc6-armhf"
|
||||
pkgver=6.4.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Stage2 cross-compiler for armhf"
|
||||
url="http://gcc.gnu.org"
|
||||
arch="aarch64 x86_64 x86"
|
||||
|
@ -413,7 +413,8 @@ package() {
|
|||
# failing and causes many headaches). See also: '-B' in 'man gcc'.
|
||||
echo "Link binutils binaries to /usr/gcc6"
|
||||
mkdir -p "$pkgdir$prefix/$CTARGET/bin"
|
||||
for i in "as" "ld"; do
|
||||
for i in "elfedit" "gprof" "addr2line" "strings" "as" "ld" "size" "ld.bfd" \
|
||||
"readelf" "nm" "ar" "strip" "dwp" "objdump" "objcopy" "c++filt" "ranlib"; do
|
||||
ln -sv "/usr/$CTARGET/bin/$i" \
|
||||
"$pkgdir$prefix/$CTARGET/bin/$i"
|
||||
done
|
||||
|
|
|
@ -24,7 +24,7 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
|||
|
||||
pkgname="gcc6-x86_64"
|
||||
pkgver=6.4.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Stage2 cross-compiler for x86_64"
|
||||
url="http://gcc.gnu.org"
|
||||
arch="armhf aarch64 x86"
|
||||
|
@ -421,7 +421,8 @@ package() {
|
|||
# Link binutils to gcc6-* (so 'CROSS_COMPILE=gcc6-...' works)
|
||||
echo "Link binutils to gcc6-*"
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
for i in "ld" "ar" "nm" "objcopy" "objdump"; do
|
||||
for i in "elfedit" "gprof" "addr2line" "strings" "as" "ld" "size" "ld.bfd" \
|
||||
"readelf" "nm" "ar" "strip" "dwp" "objdump" "objcopy" "c++filt" "ranlib"; do
|
||||
ln -sv "/usr/bin/$CTARGET-$i" \
|
||||
"$pkgdir/usr/bin/gcc6-$CTARGET-$i"
|
||||
done
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=gcc6
|
||||
pkgver=6.4.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Old GCC for old vendor kernels (C compiler only)"
|
||||
url="http://gcc.gnu.org"
|
||||
arch="all"
|
||||
|
@ -401,7 +401,8 @@ package() {
|
|||
# Link binutils to gcc6-* (so 'CROSS_COMPILE=gcc6-...' works)
|
||||
echo "Link binutils to gcc6-*"
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
for i in "ld" "ar" "nm" "objcopy" "objdump"; do
|
||||
for i in "elfedit" "gprof" "addr2line" "strings" "as" "ld" "size" "ld.bfd" \
|
||||
"readelf" "nm" "ar" "strip" "dwp" "objdump" "objcopy" "c++filt" "ranlib"; do
|
||||
ln -sv "/usr/bin/$CTARGET-$i" \
|
||||
"$pkgdir/usr/bin/gcc6-$CTARGET-$i"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue