Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Nov 2015 14:38:53 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        Lev Serebryakov <lev@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: What is oficial list of ARCHS for NOT_FOR_ARCHS / ONLY_FOR_ARCHS?
Message-ID:  <mvuw-35a3-wny@vfemail.net>
References:  <716077977.20151101140723@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Lev Serebryakov <lev@FreeBSD.org> writes:

> Hello Freebsd-ports,
>
>   I'm confused, should I use "arm64" or "aarch64" and how to spell
>  mips(el?)(64?32?) properly.

${ARCH} ~ ${MACHINE_ARCH} (uname -p). As the ports framework doesn't
expose ${MACHINE} (uname -m) you're stuck listing every supported
arm/mips flavor unless you override e.g.,

  ONLY_FOR_ARCHS=3D aarch64 amd64 arm armeb armv6 armv6hf i386 \
                  mips mips64 mips64el mipsel mipsn32 powerpc \
                  powerpc64 sparc64

vs.

  ARCH=3D           ${MACHINE}
  ONLY_FOR_ARCHS=3D amd64 arm arm64 i386 mips pc98 powerpc sparc64

# Translates to MACHINE/MACHINE_ARCH during runtime
$ make targets -C /usr/src=20=20=20=20=20
Supported TARGET/TARGET_ARCH pairs for world and kernel targets
    amd64/amd64
    arm/arm
    arm/armeb
    arm/armv6
    arm/armv6hf
    arm64/aarch64
    i386/i386
    mips/mipsel
    mips/mips
    mips/mips64el
    mips/mips64
    mips/mipsn32
    pc98/i386
    powerpc/powerpc
    powerpc/powerpc64
    sparc64/sparc64

=2D-
MACHINE and MACHINE_ARCH are defined by make(1) itself but not
documented in the man page.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJWN2dtXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bi7kIAJQUY8Siv/q+1ZR6FkPTtZ2+
bDcJzJbeiYEbFLdhdh6Nns8DmaHdENmb3z6S/ry9BOfNp6wz5O6dG4TgJMkQaFTT
L6GLXBScwhWu25qM55+oJ+pWyguHvfBgZWN4rY3BXhQUNoS7cFzdyM2FoaWLq+M2
DOQa9Ag+WdTFMrvOeqva4aVqzQHY9ME8fT3XGahbDIF/01bBC43g7tz5hk1/U+wH
FDa6hxFAM8J0ATbVdmlyPxfDKVaO6E3HSKtnjazBo8nMQFF4p9MiSKcywGa0t//3
YOApjm7skMAyv8/8nvghDXAvfy1PrlB+o5lBJPtXOTqN4S9u+NNu1Wh7Fx//Ho4=
=+dXD
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?mvuw-35a3-wny>