ARM: stm32: fix decompressor build
PATCH 1/1 ARM: stm32: fix decompressor build
The stm32 defconfig uses XIP_KERNEL, but if this is turned off by a user, we get this error when building the zImage decompressor:
arch/arm/boot/compressed/misc.c:28:35: fatal error: mach/uncompress.h: No such file or directory
To avoid the error, this adds stm32 to the list of platforms using the default DEBUG_LL based decompressor output.
---
I'd like to apply this directly to next/soc
arch/arm/Kconfig.debug +2 -1
@@ -1680,7 +1680,8 @@ config UNCOMPRESS_INCLUDE string default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \ PLAT_SAMSUNG || ARCH_EFM32 || \ - ARCH_SHMOBILE_LEGACY || ARCH_LPC18XX + ARCH_SHMOBILE_LEGACY || \ + ARCH_LPC18XX || ARCH_STM32 default "mach/uncompress.h" config EARLY_PRINTK
PATCH 1/1 ARM: stm32: fix decompressor build
Hi Arnd,
2015-05-18 17:15 GMT+02:00 Arnd Bergmann <[email protected]>:
Quoted 12 lines
The stm32 defconfig uses
XIP_KERNEL, but if this is turned off by a user, we get this error when building the zImage decompressor:
arch/arm/boot/compressed/misc.c:28:35: fatal error:mach/uncompress.h: No such file or directoryTo avoid the error, this adds stm32 to the list of platforms using the default
DEBUG_LLbased decompressor output.Signed-off-by Arnd Bergmann <[email protected]>---
I'd like to apply this directly to next/soc
Indeed, I tested only with XIP_KERNEL..
The patch looks good to me:
Thanks,
Maxime