Return-Path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:57049 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756652AbZHQDXJ (ORCPT ); Sun, 16 Aug 2009 23:23:09 -0400 Date: Sun, 16 Aug 2009 20:23:20 -0700 (PDT) Message-Id: <20090816.202320.158035570.davem@davemloft.net> Subject: Re: [PATCH] sparc64: build compressed image (zImage) by default From: David Miller In-Reply-To: <200906291245.59887.elendil@planet.nl> References: <200906291245.59887.elendil@planet.nl> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: elendil@planet.nl Cc: sparclinux@vger.kernel.org, linux-kbuild@vger.kernel.org, jurij@wooyd.org From: Frans Pop Date: Mon, 29 Jun 2009 12:45:59 +0200 > From: Jurij Smakov > Subject: sparc64: build compressed image (zImage) by default > > Besides creating the uncompressed vmlinux image for sparc64, also > create a compressed zImage. This is more consistent with other > architectures and required to make the 'deb-pkg' target work. > > Signed-off-by: Jurij Smakov > Signed-off-by: Frans Pop This is fine, however: > @@ -91,6 +91,9 @@ endif > > boot := arch/sparc/boot > > +# Default target > +all: zImage > + > image zImage tftpboot.img vmlinux.aout: vmlinux > $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ > If we are going to add this target to the 32/64 agnostic part of the Makefile, we should remove the identical chunk earlier in the 32-bit specific section. I took the liberty of making that cleanup when applying this, thanks!