[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1069141: efitools: diff for NMU version 1.9.2-3.1



Control: tags 1069141 + patch
Control: tags 1069141 + pending

Dear maintainer,

I've prepared an NMU for efitools (versioned as 1.9.2-3.1) and
uploaded it to DELAYED/15. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru efitools-1.9.2/debian/changelog efitools-1.9.2/debian/changelog
--- efitools-1.9.2/debian/changelog     2022-06-17 01:53:21.000000000 +0200
+++ efitools-1.9.2/debian/changelog     2024-09-27 16:09:33.000000000 +0200
@@ -1,3 +1,11 @@
+efitools (1.9.2-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  [ zhangdandan <zhangdandan@loongson.cn> ]
+  * Add build support for loongarch64 (Closes: #1069141
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Fri, 27 Sep 2024 16:09:33 +0200
+
 efitools (1.9.2-3) unstable; urgency=medium

   [ Bo YU ]
diff -Nru efitools-1.9.2/debian/patches/efitools-add-build-support-for-loongarch64.patch efitools-1.9.2/debian/patches/efitools-add-build-support-for-loongarch64.patch
--- efitools-1.9.2/debian/patches/efitools-add-build-support-for-loongarch64.patch      1970-01-01 01:00:00.000000000 +0100
+++ efitools-1.9.2/debian/patches/efitools-add-build-support-for-loongarch64.patch      2024-09-27 16:09:27.000000000 +0200
@@ -0,0 +1,25 @@
+Description: Add build support for loongarch64
+Last-Update: 2024-04-17
+
+--- efitools-1.9.2.orig/Make.rules
++++ efitools-1.9.2/Make.rules
+@@ -10,6 +10,8 @@ else ifeq ($(ARCH),aarch64)
+ ARCH3264 =
+ else ifeq ($(ARCH),riscv64)
+ ARCH3264 =
++else ifeq ($(ARCH),loongarch64)
++ARCH3264 =
+ else ifeq ($(ARCH),arm)
+ ARCH3264 =
+ else
+@@ -63,6 +65,10 @@ ifeq ($(ARCH),riscv64)
+   FORMAT = -O binary
+ endif
+
++ifeq ($(ARCH),loongarch64)
++  LDFLAGS += --defsym=EFI_SUBSYSTEM=0x0a
++endif
++
+ %.efi: %.so
+       $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym \
+                  -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
diff -Nru efitools-1.9.2/debian/patches/series efitools-1.9.2/debian/patches/series
--- efitools-1.9.2/debian/patches/series        2022-06-17 01:52:49.000000000 +0200
+++ efitools-1.9.2/debian/patches/series        2024-09-27 16:09:33.000000000 +0200
@@ -1,3 +1,4 @@
 makefile-enable-harden-local-files.patch
 fix-deps.patch
 allow-riscv64-build.patch
+efitools-add-build-support-for-loongarch64.patch

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: