From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753507Ab2CGJCU (ORCPT ); Wed, 7 Mar 2012 04:02:20 -0500 Received: from cassarossa.samfundet.no ([129.241.93.19]:32861 "EHLO cassarossa.samfundet.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752927Ab2CGJCR (ORCPT ); Wed, 7 Mar 2012 04:02:17 -0500 Date: Wed, 7 Mar 2012 10:00:17 +0100 From: Hans-Christian Egtvedt To: Stephen Warren Cc: Michal Marek , Russell King , nico@fluxnic.net, Haavard Skinnemoen , Mike Frysinger , Michal Simek , Paul Mundt , "David S. Miller" , Guan Xuetao , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-arm-kernel@lists.infradead.org, uclinux-dist-devel@blackfin.uclinux.org, microblaze-uclinux@itee.uq.edu.au, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH 1/3] Kbuild: centralize MKIMAGE and cmd_uimage definitions Message-ID: <20120307090017.GB17076@samfundet.no> References: <1331080238-1524-1-git-send-email-swarren@wwwdotorg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1331080238-1524-1-git-send-email-swarren@wwwdotorg.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Around Tue 06 Mar 2012 17:30:36 -0700 or thereabout, Stephen Warren wrote: > All ARCHs have the same definition of MKIMAGE. Move it to Makefile.lib > to avoid duplication. > > All ARCHs have similar definitions of cmd_uimage. Place a sufficiently > parameterized version in Makefile.lib to avoid duplication. > > The centralized cmd_uimage definition will allow the future introduction > of a centralized Kconfig option to make cmd_uimage use -T kernel_noload > rather than -T kernel. > > Signed-off-by: Stephen Warren > --- > NOTE: I have not tested this patch in any way at all for architectures > other than ARM. > > arch/arm/boot/Makefile | 23 +++++++++-------------- > arch/avr32/boot/images/Makefile | 9 +++------ For the AVR32 related changes Acked-by: Hans-Christian Egtvedt -- Best regards, Hans-Christian Egtvedt