From 35ed183f6a9603bafbdb6fd62040b6634fec6bc1 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Tue, 3 Jan 2012 00:19:52 +0100 Subject: [PATCH] [arm/portage] add make.conf --- conf/armv7l/portage/NOTES | 5 +++++ conf/armv7l/portage/make.conf | 31 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 conf/armv7l/portage/NOTES create mode 100644 conf/armv7l/portage/make.conf diff --git a/conf/armv7l/portage/NOTES b/conf/armv7l/portage/NOTES new file mode 100644 index 0000000..d0ad269 --- /dev/null +++ b/conf/armv7l/portage/NOTES @@ -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 diff --git a/conf/armv7l/portage/make.conf b/conf/armv7l/portage/make.conf new file mode 100644 index 0000000..17e2910 --- /dev/null +++ b/conf/armv7l/portage/make.conf @@ -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" +# / +# 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 +