pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Add BIGENDIANPLATFORMS and LITTLEENDIANPLATFORMS, l...
details: https://anonhg.NetBSD.org/pkgsrc/rev/86cdf3658eae
branches: trunk
changeset: 643876:86cdf3658eae
user: dholland <dholland%pkgsrc.org@localhost>
date: Thu Jan 01 08:57:23 2015 +0000
description:
Add BIGENDIANPLATFORMS and LITTLEENDIANPLATFORMS, like LP64PLATFORMS, for
restricting broken packages.
diffstat:
mk/bsd.prefs.mk | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r e765c5053d2b -r 86cdf3658eae mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk Thu Jan 01 08:29:07 2015 +0000
+++ b/mk/bsd.prefs.mk Thu Jan 01 08:57:23 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.354 2015/01/01 06:06:06 dholland Exp $
+# $NetBSD: bsd.prefs.mk,v 1.355 2015/01/01 08:57:23 dholland Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -803,4 +803,24 @@
#
LP64PLATFORMS= *-*-alpha *-*-sparc64 *-*-x86_64 *-*-amd64
+# Lists of big-endian and little-endian platforms, to be used with
+# BROKEN_ON_PLATFORM.
+#
+# Keywords: BROKEN_ON_PLATFORM little-endian big-endian endian
+#
+_BIGENDIANCPUS= coldfire hppa m68000 m68k mips64eb mipseb or1k \
+ powerpc powerpc64 sh3eb sparc sparc64
+_LITTLEENDIANCPUS= alpha i386 ia64 mips64el mipsel riscv32 riscv64 \
+ sh3el vax x86_64 amd64
+
+# piles of ARM variants
+_ARMCPUS+= arm earm earmhf earmv4 earmv5 earmv6 earmv6hf
+_ARMCPUS+= earmv7 earmv7hf aarch64
+_BIGENDIANCPUS+= ${_ARMCPUS:S/$/eb/}
+_LITTLEENDIANCPUS+= ${_ARMCPUS}
+
+BIGENDIANPLATFORMS= ${_BIGENDIANCPUS:S/^/*-*-/}
+LITTLEENDIANPLATFORMS= ${_LITTLEENDIANCPUS:S/^/*-*-/}
+
+
.endif # BSD_PKG_MK
Home |
Main Index |
Thread Index |
Old Index