1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-10-31 17:35:37 +01:00

Add extra config flags for binutils

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2019-01-13 02:38:04 +01:00
parent 9a49a8aac4
commit f17e6f75b2
5 changed files with 5 additions and 1 deletions

View file

@ -204,6 +204,7 @@ Currently, the following variables are used:
* `GCC_CPU` specifies the target processor for GCC.
* `GCC_EXTRACFG` extra configure arguments passed to GCC. For instance, this
may contain FPU configuration for ARM targets.
* `BINUTILS_EXTRACFG` extra configure arguments passed to binutils.
* `LINUX_TGT` contains the space seperated make targets for the generic,
main line, LTS kernel package.
* `CPU_IS_64BIT` is set to `yes` for 64 bit CPUs. This is needed for some

View file

@ -5,6 +5,7 @@ GCC_CPU="i686"
CPU_IS_64BIT="no"
GCC_EXTRACFG="--disable-libmpx"
BINUTILS_EXTRACFG=""
LINUXPKG="linux"
LINUX_TGT="bzImage modules"

View file

@ -5,6 +5,7 @@ GCC_CPU="x86-64"
CPU_IS_64BIT="yes"
GCC_EXTRACFG="--enable-libmpx"
BINUTILS_EXTRACFG=""
LINUXPKG="linux"
LINUX_TGT="bzImage"

View file

@ -5,6 +5,7 @@ GCC_CPU="armv6"
CPU_IS_64BIT="no"
GCC_EXTRACFG="--with-float=hard --with-fpu=neon-vfpv3"
BINUTILS_EXTRACFG=""
LINUXPKG="linux-rpi3"
LINUX_TGT="zImage dtbs modules"

View file

@ -10,7 +10,7 @@ prepare() {
}
build() {
local extra=""
local extra="$BINUTILS_EXTRACFG"
$1/configure --prefix="$TCDIR" --target="$TARGET" --disable-nls \
--with-sysroot="$TCDIR/$TARGET" --disable-multilib \