Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 13 Oct 2002 22:56:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 13 Oct 2002 22:56:33 -0400 Received: from 12-231-249-244.client.attbi.com ([12.231.249.244]:39940 "HELO kroah.com") by vger.kernel.org with SMTP id ; Sun, 13 Oct 2002 22:56:32 -0400 Date: Sun, 13 Oct 2002 20:02:47 -0700 From: Greg KH To: Kai Germaschewski Cc: "Martin J. Bligh" , Linus Torvalds , Dave Jones , linux-kernel Subject: Re: [PATCH] Summit support for 2.5 [0/4] Message-ID: <20021014030247.GA1984@kroah.com> References: <20021014022515.GB1768@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 748 Lines: 29 On Sun, Oct 13, 2002 at 09:49:33PM -0500, Kai Germaschewski wrote: > 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) Oooh, nice. You might want to go fix up arch/arm/Makefile, as that's where I took my above example from :) thanks, greg k-h - 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/