From: Keir Fraser Subject: Re: [PATCH] Don't attempt to build kernels on Solaris. Date: Tue, 17 Oct 2006 17:58:46 +0100 Message-ID: References: <20061017163856.GA14583@totally.trollied.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20061017163856.GA14583@totally.trollied.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 17/10/06 17:38, "John Levon" wrote: >> Doesn't empty XKERNELS variable get you this for free? I thought that was >> the point of moving KERNELS/XKERNELS to Linux.mk. > > We need this as well because of things like: > > for i in $(XKERNELS) ; do $(MAKE) $$i-prep || exit 1; done But bash can handle empty lists. If XKERNELS is empty the above should be a no-op, right? Certainly seems to have that behaviour for me. -- Keir