Thread (8 messages) flat view 8 messages, 6 authors, 2012-03-26

[PATCH] Kbuild: centralize MKIMAGE and cmd_uimage definitions

From: Guan Xueao <hidden>
Date: 2012-03-19 09:04:48
Also in: linux-arch, linux-kbuild, linux-sh, lkml, sparclinux

On 03/17/2012 05:03 AM, 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.

Signed-off-by: Stephen Warren<redacted>
---
v2:
* Fix blackfin's UIMAGE_LOADADDR in the ROMKERNEL case.
* Fix missing ) on a variable reference in avr32 and sparc.
* Only set those UIMAGE_* variables that the arch-specific Makefile hasn't
   already set.
* The patch series is now just this single patch which removes duplication;
   I've dropped the Kconfig feature to allow use of -T kernel_noload for
   now, since it looks like U-Boot is gaining direct zImage support.
Tested on unicore32.

Tested-by: Guan Xuetao <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help