[armv7l/portage] split make.conf (supporting both FPU ABI)
This commit is contained in:
parent
10412ce434
commit
d693f9692a
2
conf/armv7l/portage/env/neon.conf
vendored
2
conf/armv7l/portage/env/neon.conf
vendored
@ -1,3 +1,3 @@
|
|||||||
# Enable NEON when it's possible without breaking qemu-user chroot
|
# Enable NEON when it's possible without breaking qemu-user chroot
|
||||||
CFLAGS="-O2 -ftree-vectorize -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard ${GRAPHITE}"
|
CFLAGS="-O2 -ftree-vectorize -pipe -march=armv7-a -mfpu=neon ${FPUABI} ${GRAPHITE}"
|
||||||
CXXFLAGS="${CFLAGS}"
|
CXXFLAGS="${CFLAGS}"
|
||||||
|
2
conf/armv7l/portage/env/xbmc.conf
vendored
2
conf/armv7l/portage/env/xbmc.conf
vendored
@ -1,3 +1,3 @@
|
|||||||
# We want NEON for xbmc, and also, mfpu=vfpv3-d16 breaks compilation due to broken inline asm
|
# We want NEON for xbmc, and also, mfpu=vfpv3-d16 breaks compilation due to broken inline asm
|
||||||
CFLAGS="-O2 -ftree-vectorize -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard ${GRAPHITE}"
|
CFLAGS="-O2 -ftree-vectorize -pipe -march=armv7-a -mfpu=neon ${FPUABI} ${GRAPHITE}"
|
||||||
CXXFLAGS="${CFLAGS}"
|
CXXFLAGS="${CFLAGS}"
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
# Compiler configuration
|
|
||||||
GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block"
|
|
||||||
CFLAGS="-O2 -ftree-vectorize -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ${GRAPHITE}"
|
|
||||||
CXXFLAGS="${CFLAGS}"
|
|
||||||
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
|
|
||||||
CHOST="armv7a-hardfloat-linux-gnueabi"
|
|
||||||
|
|
||||||
# Portage configuration
|
# Portage configuration
|
||||||
ACCEPT_KEYWORDS="~arm arm"
|
ACCEPT_KEYWORDS="~arm arm"
|
||||||
FEATURES="ccache distcc distcc-pump parallel-fetch protect-owned splitdebug"
|
FEATURES="ccache distcc distcc-pump parallel-fetch protect-owned splitdebug"
|
||||||
@ -28,6 +21,3 @@ APACHE2_MPMS="prefork"
|
|||||||
# Filter out crap from packages
|
# Filter out crap from packages
|
||||||
INSTALL_MASK="usr/share/gtk-doc/html/*"
|
INSTALL_MASK="usr/share/gtk-doc/html/*"
|
||||||
PKG_INSTALL_MASK="${INSTALL_MASK}"
|
PKG_INSTALL_MASK="${INSTALL_MASK}"
|
||||||
|
|
||||||
source /var/lib/layman/make.conf
|
|
||||||
|
|
11
conf/armv7l/portage/make.conf.hardfp
Normal file
11
conf/armv7l/portage/make.conf.hardfp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block"
|
||||||
|
FPUABI="-mfloat-abi=hard"
|
||||||
|
|
||||||
|
CFLAGS="-O2 -ftree-vectorize -pipe -march=armv7-a -mfpu=vfpv3-d16 ${FPUABI} ${GRAPHITE}"
|
||||||
|
CXXFLAGS="${CFLAGS}"
|
||||||
|
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
|
||||||
|
CHOST="armv7a-hardfloat-linux-gnueabi"
|
||||||
|
|
||||||
|
source /etc/make.conf.common
|
||||||
|
source /var/lib/layman/make.conf
|
||||||
|
|
10
conf/armv7l/portage/make.conf.softfp
Normal file
10
conf/armv7l/portage/make.conf.softfp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block"
|
||||||
|
FPUABI="-mfloat-abi=softfp"
|
||||||
|
|
||||||
|
CFLAGS="-O2 -ftree-vectorize -pipe -march=armv7-a -mfpu=vfpv3-d16 ${FPUABI} ${GRAPHITE}"
|
||||||
|
CXXFLAGS="${CFLAGS}"
|
||||||
|
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
|
||||||
|
CHOST="armv7a-unknown-linux-gnueabi"
|
||||||
|
|
||||||
|
source /etc/make.conf.common
|
||||||
|
source /var/lib/layman/make.conf
|
Loading…
Reference in New Issue
Block a user