Thread (21 messages) flat view 21 messages, 5 authors, 2013-02-08
STALE4943d REVIEWED: 5 (5M)

Revision v1 of 3 in this series; 1 review trailer.

Revisions (3)
  1. v1 [diff vs current]
  2. v1 current
  3. v4 [diff vs current]

[PATCH 1/2] ARM: use Kconfig to select uncompress.h

From: arnd@arndb.de (Arnd Bergmann)
Date: 2013-01-17 16:00:46

On Thursday 17 January 2013, Shawn Guo wrote:
Spam Status: Spamassassin 0% probability of being spam.

Full report:
No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1  
Following the approach handling DEBUG_LL inclusion, the patch creates
a Kconfig symbol CONFIG_UNCOMPRESS_INCLUDE for choosing the correct
uncompress header.  For traditional build, mach/uncompress.h will be
included in arch/arm/boot/compressed/misc.c.  For multiplatform build,
debug/uncompress.h which contains a suite of empty functions will be
used.  In this way, a platform with particular uncompress.h
implementation could choose its own uncompress.h with this Kconfig
option.

Signed-off-by: Shawn Guo <redacted>
Nice trick!

Acked-by: Arnd Bergmann <arnd@arndb.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help