Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2002 18:56:16 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Alfred Perlstein <bright@mu.org>
Cc:        arch@FreeBSD.org
Subject:   Re: Suggestion: modules: ARCHS variable in makefiles
Message-ID:  <20021107025616.GB2005@dhcp01.pn.xcllnt.net>
In-Reply-To: <20021106234628.GH24139@elvis.mu.org>
References:  <20021106231518.GA1505@dhcp01.pn.xcllnt.net> <20021106234628.GH24139@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 06, 2002 at 03:46:28PM -0800, Alfred Perlstein wrote:
> 
> This sounds interesting, how about a default rule though that without
> the ARCH line the module will build on all arches, have an include
> and exclude option.

Agreed. It addresses con#2.

> #MODULE_ARCHES= ${ALL_ARCH}    # implicit.
> MODULE_NOARCHS= alpha          # build on all but alpha.
> MODULE_ARCHS= i386 alpha pc98  # only build on i386, alpha and pc98.

Do you think there's value to allow specifying MACHINE_ARCH and MACHINE.
So that one can say (different naming introduced only for clarity):

MACHINE_EXCLUDE=i386		# Does not build on i386 machine, but does
				# build on pc98.
MACHINE_ARCH_EXCLUDE=i386	# Does not build on any i386 based archs,
				# including pc98.

Or likewise:

MACHINE_INCLUDE=i386		# Builds for i386; not pc98
MACHINE_ARCH_INCLUDE=i386	# Builds on all i386 based archs.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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