Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 14 Oct 2002 01:43:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 14 Oct 2002 01:43:14 -0400 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:6776 "EHLO frodo.biederman.org") by vger.kernel.org with ESMTP id ; Mon, 14 Oct 2002 01:43:13 -0400 To: Kai Germaschewski Cc: Greg KH , "Martin J. Bligh" , Linus Torvalds , Dave Jones , linux-kernel Subject: Re: [PATCH] Summit support for 2.5 [0/4] References: From: ebiederm@xmission.com (Eric W. Biederman) Date: 13 Oct 2002 23:46:24 -0600 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1145 Lines: 35 Kai Germaschewski writes: > On Sun, 13 Oct 2002, Greg KH wrote: > > > +ifeq ($(CONFIG_SUMMIT),y) > > +MACHINE = mach-summit > > endif > > > > Can make handle reassigning a variable? > > Sure. > > You could even do > > machine-y := mach-generic > machine-$(CONFIG_SUMMIT) := mach-summit > ... > MACHINE := $(machine-y) Cool. With a setup that clean I think I can break the multiple firmware code out easily as well. firmware-y := firmware-pcbios firmware-$(CONFIG_LINUXBIOS) := firmware-linuxbios ... FIRMWARE := $(firmware-y) I had it broken out cleanly earlier, but everyone was concentrating on other things and I just haven't been able to get back to that stuff until this week. It will be a little tight coming in under the wire with working code but we will see. Unless someone has some objections... Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/