blob: 597ce4373cc287affd3e8d63999d65a128118b51 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From d43ab14605510d9d2bd257a8cd70f24ada4621b0 Mon Sep 17 00:00:00 2001
2From: David Bauer <mail@david-bauer.net>
3Date: Sat, 29 Feb 2020 14:27:04 +0100
4Subject: [PATCH] powerpc: bootwrapper: disable uImage generation
5
6Due to CONFIG_KERNEL_XZ symbol, the bootwrapper code tries to
7instruct the mkimage to use the xz compression, which isn't
8supported. This disables the uImage generation, as OpenWrt
9generates individual uImages for each board using it's own
10toolchain.
11
12Signed-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@@ -269,7 +269,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@@ -398,15 +397,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