Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2016 07:08:10 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        freebsd-arm@freebsd.org
Subject:   tcsh modification to support Raspberry Pi 3
Message-ID:  <20161212070755.4f1a56bd@X220.alogt.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161212070755.4f1a56bd>