tcsh modification to support Raspberry Pi 3

Erich Dollansky erichsfreebsdlist at alogt.com
Mon Dec 12 00:07:48 UTC 2016


Hi,

tcsh has some environment variables 'hardcoded' which define the
machine it runs on:

HOSTTYPE=FreeBSD
VENDOR=acorn
OSTYPE=FreeBSD
MACHTYPE=arm64

is what mine shows now. VENDOR and MACHTYPE have been unknown before.

I modified the source

/usr/src.head/contrib/tcsh/host.defs

I replaced line 571:

vendor	: defined(arm32) || defined(__arm__)||
defined(__aarch64__)		: "acorn"

and inserted a new line 583

machtype: defined(arm64) || defined(__AARCH64EL__)	: "arm64"

I would need a little bit of hand holding to get this into the source
tree.

Who can help?

Erich


More information about the freebsd-arm mailing list