From 9827a5a4b8320fd7bc57818119acf03faad3c226 Mon Sep 17 00:00:00 2001 From: doupengda Date: Tue, 27 Feb 2024 16:45:59 +0800 Subject: [PATCH] add support for loongarch64 --- vboot-utils.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/vboot-utils.spec b/vboot-utils.spec index fd9984a..184063f 100644 --- a/vboot-utils.spec +++ b/vboot-utils.spec @@ -1,11 +1,11 @@ %define _default_patch_fuzz 2 Name: vboot-utils Version: 20230127 -Release: 1 +Release: 2 Summary: Chromium OS verified boot utility License: BSD URL: https://chromium.googlesource.com/chromiumos/platform/vboot_reference -ExclusiveArch: aarch64 x86_64 +ExclusiveArch: aarch64 x86_64 loongarch64 Source0: %{name}-9b08a3c4.tar.xz Patch0: vboot-utils-9b08a3c4.patch @@ -26,6 +26,9 @@ manage gpt partitions. %ifarch x86_64 %global ARCH x86_64 %endif +%ifarch loongarch64 +%global ARCH loongarch64 +%endif %make_build V=1 ARCH=%{ARCH} COMMON_FLAGS="$RPM_OPT_FLAGS" USE_FLASHROM=0 %install @@ -44,6 +47,9 @@ rm -f %{buildroot}/usr/lib/libvboot_host.a %{_datadir}/vboot/devkeys/ %changelog +* Tue Feb 27 2024 doupengda - 20230127-2 +- add support for loongarch64 + * Wed Jul 19 2023 xu_ping <707078654@qq.com> - 20230127-1 - upgrade to 20230127