[arm/portage] add make.conf
This commit is contained in:
parent
71f9f9a3cc
commit
35ed183f6a
5
conf/armv7l/portage/NOTES
Normal file
5
conf/armv7l/portage/NOTES
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Files in here must be real file or hardlinks.
|
||||||
|
Symlinks are not allowed since they're read by Entropy Server
|
||||||
|
during repository metadata generation and, if symlink, their
|
||||||
|
symlink pointer is recorded instead of the file content.
|
||||||
|
see: entropy/lib/entropy/server/interfaces/db.py -> spm_files_map
|
31
conf/armv7l/portage/make.conf
Normal file
31
conf/armv7l/portage/make.conf
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# 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
|
||||||
|
ACCEPT_KEYWORDS="~arm arm"
|
||||||
|
FEATURES="ccache distcc distcc-pump parallel-fetch protect-owned splitdebug"
|
||||||
|
MAKEOPTS="-j16 -s"
|
||||||
|
CCACHE_SIZE="50G"
|
||||||
|
|
||||||
|
# distcc configuration
|
||||||
|
DISTCC_SSH="/etc/distcc/distcc-ssh"
|
||||||
|
# <host>/<number of jobs>
|
||||||
|
# Works with QEMU warnings (damn)
|
||||||
|
# DISTCC_HOSTS="localhost/1 distcc@localhost/15,lzo,cpp"
|
||||||
|
# Works
|
||||||
|
DISTCC_HOSTS="localhost/1 127.0.0.1/15,lzo,cpp"
|
||||||
|
# DISTCC_VERBOSE=1
|
||||||
|
|
||||||
|
# Package specific configuration
|
||||||
|
APACHE2_MPMS="prefork"
|
||||||
|
|
||||||
|
# Filter out crap from packages
|
||||||
|
INSTALL_MASK="usr/share/gtk-doc/html/*"
|
||||||
|
PKG_INSTALL_MASK="${INSTALL_MASK}"
|
||||||
|
|
||||||
|
source /var/lib/layman/make.conf
|
||||||
|
|
Loading…
Reference in New Issue
Block a user