aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2017-12-08 21:13:25 -0800
committerSteve Arnold <nerdboy@gentoo.org>2017-12-08 21:13:25 -0800
commitc5695a15cc4ffa899b132aea74e3d6bdc9909d6b (patch)
treeea8fbe659306cf76e8f4a756c13f64ede98d9d98
parentsys-kernel/armv8multi-sources: move 4.13 defconfig and fix config paths (diff)
downloadarm-c5695a15cc4ffa899b132aea74e3d6bdc9909d6b.tar.gz
arm-c5695a15cc4ffa899b132aea74e3d6bdc9909d6b.tar.bz2
arm-c5695a15cc4ffa899b132aea74e3d6bdc9909d6b.zip
crossdev-examples.txt: add mipsel hardened musl example, update
layman.xml Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
-rw-r--r--configs/crossdev-examples.txt14
-rw-r--r--configs/layman.xml6
2 files changed, 17 insertions, 3 deletions
diff --git a/configs/crossdev-examples.txt b/configs/crossdev-examples.txt
index 20fe41c..15b74f3 100644
--- a/configs/crossdev-examples.txt
+++ b/configs/crossdev-examples.txt
@@ -89,3 +89,17 @@ PORTDIR_OVERLAY="/usr/local/portage/cross-avr" \
EXTRA_ECONF="--enable-libstdcxx-time=no" \
crossdev --g 4.9.4-r1 --b 2.25.1-r1 -t avr -s4 \
--ex-gdb --show-fail-log -v
+
+
+Hardened mipsel with musl, for that Onion thing (mips abi is a guess)
+
+Note: cross-musl gets contaminated with host cflags/ldflags so you need
+to pass -march and -mtune to match your tatget:
+
+PORTDIR_OVERLAY="/usr/local/mips32r2" \
+ USE="-graphite hardened multitarget -multilib -vtv -openmp -jit -fortran -sanitize" \
+ EXTRA_ECONF="--with-mips-plt --with-arch=mips32r2 --with-tune=24kec" \
+ crossdev -t mipsel-unknown-linux-musl --abis "o32" \
+ --lenv 'CFLAGS="-march=mips32r2 -mtune=24kec -O2 -pipe" CXXFLAGS="${CFLAGS}" LDFLAGS="${CFLAGS}"' \
+ -v -b --without-headers --ex-gdb
+
diff --git a/configs/layman.xml b/configs/layman.xml
index 211f0c7..db39ceb 100644
--- a/configs/layman.xml
+++ b/configs/layman.xml
@@ -5,9 +5,9 @@
<name><![CDATA[arm_support]]></name>
<description lang="en"><![CDATA[ARM Support Gentoo Overlay]]></description>
<homepage>https://github.com/gentoo/arm</homepage>
- <owner type="person">
- <name><![CDATA[steev]]></name>
- <email>steev@gentoo.org</email>
+ <owner type="project">
+ <name><![CDATA[arm]]></name>
+ <email>arm@gentoo.org</email>
</owner>
<source type="git">git://github.com/gentoo/arm.git</source>
<source type="git">https://github.com/gentoo/arm.git</source>