[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+5PVA7PCow=Z7TpPtQYp3ye6uKFSp3XsdH75Pe9BRu9Vyy21g@mail.gmail.com>
Date: Wed, 7 Mar 2012 09:15:59 -0500
From: Josh Boyer <jwboyer@...il.com>
To: Stephen Warren <swarren@...dotorg.org>
Cc: Michal Marek <mmarek@...e.cz>,
Russell King <linux@....linux.org.uk>, nico@...xnic.net,
Haavard Skinnemoen <hskinnemoen@...il.com>,
Hans-Christian Egtvedt <egtvedt@...fundet.no>,
Mike Frysinger <vapier@...too.org>,
Michal Simek <monstr@...str.eu>,
Paul Mundt <lethal@...ux-sh.org>,
"David S. Miller" <davem@...emloft.net>,
Guan Xuetao <gxt@...c.pku.edu.cn>,
linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
uclinux-dist-devel@...ckfin.uclinux.org,
microblaze-uclinux@...e.uq.edu.au, linux-sh@...r.kernel.org,
sparclinux@...r.kernel.org, linux-arch@...r.kernel.org
Subject: Re: [PATCH 1/3] Kbuild: centralize MKIMAGE and cmd_uimage definitions
On Tue, Mar 6, 2012 at 7:30 PM, Stephen Warren <swarren@...dotorg.org> 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 <swarren@...dotorg.org>
> ---
> 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 +++------
> arch/blackfin/boot/Makefile | 19 ++++++++-----------
> arch/microblaze/boot/Makefile | 10 +++-------
> arch/sh/boot/Makefile | 8 ++------
> arch/sparc/boot/Makefile | 9 +++------
> arch/unicore32/boot/Makefile | 12 ++----------
> scripts/Makefile.lib | 24 ++++++++++++++++++++++++
> 8 files changed, 54 insertions(+), 60 deletions(-)
Is there a reason you skipped powerpc?
josh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists