wok annotate grub2/stuff/patches/gentpl.py-2.04 @ rev 24888

grub2: avoid grub-mkimage error: decompressor is too big
author Hans-G?nter Theisgen
date Sat Apr 02 17:25:58 2022 +0100 (2022-04-02)
parents
children
rev   line source
Hans-G?nter@24888 1 diff --git a/gentpl.py b/gentpl.py
Hans-G?nter@24888 2 index 387588c..c86550d 100644
Hans-G?nter@24888 3 --- a/gentpl.py
Hans-G?nter@24888 4 +++ b/gentpl.py
Hans-G?nter@24888 5 @@ -766,7 +766,7 @@ def image(defn, platform):
Hans-G?nter@24888 6 if test x$(TARGET_APPLE_LINKER) = x1; then \
Hans-G?nter@24888 7 $(MACHO2IMG) $< $@; \
Hans-G?nter@24888 8 else \
Hans-G?nter@24888 9 - $(TARGET_OBJCOPY) $(""" + cname(defn) + """_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .MIPS.abiflags -R .reginfo -R .rel.dyn -R .note.gnu.gold-version -R .ARM.exidx $< $@; \
Hans-G?nter@24888 10 + $(TARGET_OBJCOPY) $(""" + cname(defn) + """_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .MIPS.abiflags -R .reginfo -R .rel.dyn -R .note.gnu.gold-version -R .note.gnu.property -R .ARM.exidx $< $@; \
Hans-G?nter@24888 11 fi
Hans-G?nter@24888 12 """)
Hans-G?nter@24888 13