From owner-freebsd-arch Wed Nov 6 18:56:38 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A440737B401 for ; Wed, 6 Nov 2002 18:56:36 -0800 (PST) Received: from kayak.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71CDF43E6E for ; Wed, 6 Nov 2002 18:56:31 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.12.6/8.12.6) with ESMTP id gA72uJ0N004321; Wed, 6 Nov 2002 18:56:22 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id gA72uTvY002119; Wed, 6 Nov 2002 18:56:29 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6/Submit) id gA72uGtb002118; Wed, 6 Nov 2002 18:56:16 -0800 (PST) Date: Wed, 6 Nov 2002 18:56:16 -0800 From: Marcel Moolenaar To: Alfred Perlstein Cc: arch@FreeBSD.org Subject: Re: Suggestion: modules: ARCHS variable in makefiles Message-ID: <20021107025616.GB2005@dhcp01.pn.xcllnt.net> References: <20021106231518.GA1505@dhcp01.pn.xcllnt.net> <20021106234628.GH24139@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021106234628.GH24139@elvis.mu.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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