aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-11-21 22:11:17 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-11-21 22:11:17 +0000
commitabd77e713d4eb9f15b76889c6d354aad22271473 (patch)
treed8f30acb85ead6ed08e448e727d08aa41988f63a
parentcrossdev: remove support for undocumented -b -d -p -v -q -pv -vp options, bug... (diff)
downloadcrossdev-abd77e713d4eb9f15b76889c6d354aad22271473.tar.gz
crossdev-abd77e713d4eb9f15b76889c6d354aad22271473.tar.bz2
crossdev-abd77e713d4eb9f15b76889c6d354aad22271473.zip
add hppa64-* target support
This target builds only C compiler by default. No glibc or linux headers as 64 userspace ABI is not defined yet. See https://parisc.wiki.kernel.org/index.php/Userspace64 Usage example: $ crossdev -t hppa64-unknown-linux-gnu Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rwxr-xr-xcrossdev7
1 files changed, 7 insertions, 0 deletions
diff --git a/crossdev b/crossdev
index 3a3fdf5..7eca6fc 100755
--- a/crossdev
+++ b/crossdev
@@ -234,6 +234,13 @@ parse_target() {
MAKE_SYMLINK="yes"
WITH_DEF_HEADERS="no";;
+ # Has no glibc support yet (or even ABI defined). Can
+ # only compile linux kernel:
+ # https://parisc.wiki.kernel.org/index.php/Userspace64
+ hppa64*)
+ STAGE_DEFAULT=${STAGE_C_ONLY}
+ WITH_DEF_HEADERS="no";;
+
# due to upstream lameness, build C/C++ at first glance
*-cygwin)
GUSE_DISABLE_STAGE_1+=" -nocxx cxx";;