900-powerpc-bootwrapper-disable-uImage-generation.patch 1.5 KB

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