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:
parent
9a49a8aac4
commit
f17e6f75b2
5 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -5,6 +5,7 @@ GCC_CPU="i686"
|
|||
CPU_IS_64BIT="no"
|
||||
|
||||
GCC_EXTRACFG="--disable-libmpx"
|
||||
BINUTILS_EXTRACFG=""
|
||||
|
||||
LINUXPKG="linux"
|
||||
LINUX_TGT="bzImage modules"
|
||||
|
|
|
@ -5,6 +5,7 @@ GCC_CPU="x86-64"
|
|||
CPU_IS_64BIT="yes"
|
||||
|
||||
GCC_EXTRACFG="--enable-libmpx"
|
||||
BINUTILS_EXTRACFG=""
|
||||
|
||||
LINUXPKG="linux"
|
||||
LINUX_TGT="bzImage"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue