Skip to contentSkip to conversation

ARM: stm32: fix decompressor build

PATCH New Arnd Bergmann 2 participants 2 messages May 18, 2015 – May 19, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

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
index 375a428aa733..91f0df3edbe0 100644
@@ -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
#1 lore raw

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 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

Indeed, I tested only with XIP_KERNEL..

The patch looks good to me:

Thanks,
Maxime