What is oficial list of ARCHS for NOT_FOR_ARCHS / ONLY_FOR_ARCHS?
Jan Beich
jbeich at vfemail.net
Mon Nov 2 13:46:12 UTC 2015
Lev Serebryakov <lev at 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= aarch64 amd64 arm armeb armv6 armv6hf i386 \
mips mips64 mips64el mipsel mipsn32 powerpc \
powerpc64 sparc64
vs.
ARCH= ${MACHINE}
ONLY_FOR_ARCHS= amd64 arm arm64 i386 mips pc98 powerpc sparc64
# Translates to MACHINE/MACHINE_ARCH during runtime
$ make targets -C /usr/src
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
--
MACHINE and MACHINE_ARCH are defined by make(1) itself but not
documented in the man page.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20151102/373a05cb/attachment.bin>
More information about the freebsd-ports
mailing list