mpc85xx: disable kernel uImage generation
[oweals/openwrt.git] / target / linux / mpc85xx / patches-5.4 / 900-powerpc-bootwrapper-disable-uImage-generation.patch
1 From d43ab14605510d9d2bd257a8cd70f24ada4621b0 Mon Sep 17 00:00:00 2001
2 From: David Bauer <mail@david-bauer.net>
3 Date: Sat, 29 Feb 2020 14:27:04 +0100
4 Subject: [PATCH] powerpc: bootwrapper: disable uImage generation
5
6 Due to CONFIG_KERNEL_XZ symbol, the bootwrapper code tries to
7 instruct the mkimage to use the xz compression, which isn't
8 supported. This disables the uImage generation, as OpenWrt
9 generates individual uImages for each board using it's own
10 toolchain.
11
12 Signed-off-by: David Bauer <mail@david-bauer.net>
13 ---
14  arch/powerpc/boot/Makefile | 9 ---------
15  1 file changed, 9 deletions(-)
16
17 --- a/arch/powerpc/boot/Makefile
18 +++ b/arch/powerpc/boot/Makefile
19 @@ -268,7 +268,6 @@ image-$(CONFIG_PPC_CHRP)            += zImage.chrp
20  image-$(CONFIG_PPC_EFIKA)              += zImage.chrp
21  image-$(CONFIG_PPC_PMAC)               += zImage.pmac
22  image-$(CONFIG_PPC_HOLLY)              += dtbImage.holly
23 -image-$(CONFIG_DEFAULT_UIMAGE)         += uImage
24  image-$(CONFIG_EPAPR_BOOT)             += zImage.epapr
25  
26  #
27 @@ -397,15 +396,6 @@ $(obj)/dtbImage.%: vmlinux $(wrapperbits
28  $(obj)/vmlinux.strip: vmlinux
29         $(STRIP) -s -R .comment $< -o $@
30  
31 -$(obj)/uImage: vmlinux $(wrapperbits) FORCE
32 -       $(call if_changed,wrap,uboot)
33 -
34 -$(obj)/uImage.initrd.%: vmlinux $(obj)/dts/%.dtb $(wrapperbits) FORCE
35 -       $(call if_changed,wrap,uboot-$*,,$(obj)/dts/$*.dtb,$(obj)/ramdisk.image.gz)
36 -
37 -$(obj)/uImage.%: vmlinux $(obj)/dts/%.dtb $(wrapperbits) FORCE
38 -       $(call if_changed,wrap,uboot-$*,,$(obj)/dts/$*.dtb)
39 -
40  $(obj)/cuImage.initrd.%: vmlinux $(obj)/dts/%.dtb $(wrapperbits) FORCE
41         $(call if_changed,wrap,cuboot-$*,,$(obj)/dts/$*.dtb,$(obj)/ramdisk.image.gz)
42