[PATCH 1/2] ARM: use Kconfig to select uncompress.h
Arnd Bergmann
arnd at arndb.de
Thu Jan 17 11:00:46 EST 2013
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 <shawn.guo at linaro.org>
Nice trick!
Acked-by: Arnd Bergmann <arnd at arndb.de>
More information about the linux-arm-kernel
mailing list