Subject: CVS commit: src/sys/contrib/dev/ath/netbsd
To: None <source-changes@NetBSD.org>
From: Garrett D'Amore <gdamore@netbsd.org>
List: source-changes
Date: 04/04/2006 01:26:53
Module Name:	src
Committed By:	gdamore
Date:		Tue Apr  4 01:26:53 UTC 2006

Added Files:
	src/sys/contrib/dev/ath/netbsd: Makefile.ath.inc

Log Message:
Centralize rules for building atheros HAL for various supported platforms,
including easy override mechanism for ports that need it.

To use this, just .include this file instead of listing explicit rules
for building the target.  A change to std/conf/files will be made shortly
that lists /athhal.o as an object if "ath" is defined.

If you need to override the default HAL selected for some reason (for example
to use an xscale version of the HAL on evbarm kernels that support it), add
a "makeoptions ATH_MACHINE_HAL=<hal>", for example to select the XScale
LE configuration you could use "makeoptions ATH_MACHINE_HAL=xscale-le-elf".


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/sys/contrib/dev/ath/netbsd/Makefile.ath.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.