diff options
author | dholland <dholland> | 2015-01-01 08:57:23 +0000 |
---|---|---|
committer | dholland <dholland> | 2015-01-01 08:57:23 +0000 |
commit | 1c0490e075cf23093158f069454664bd7c023a35 (patch) | |
tree | c5678c339d4d27bf833564133cccc3aba7dcd653 /mk/bsd.prefs.mk | |
parent | cc1ad434da87a984608be16dd709c183129d0002 (diff) | |
download | pkgsrc-1c0490e075cf23093158f069454664bd7c023a35.tar.gz |
Add BIGENDIANPLATFORMS and LITTLEENDIANPLATFORMS, like LP64PLATFORMS, for
restricting broken packages.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r-- | mk/bsd.prefs.mk | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 669bf610174..f79c78ea0c2 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -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 @@ _SYS_VARS.dirs= WRKDIR DESTDIR PKG_SYSCONFBASEDIR # 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 |