add support for loongarch64

This commit is contained in:
doupengda 2024-02-27 16:45:59 +08:00
parent 2676efa3fa
commit 9827a5a4b8

View File

@ -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 <doupengda@loongson.cn> - 20230127-2
- add support for loongarch64
* Wed Jul 19 2023 xu_ping <707078654@qq.com> - 20230127-1
- upgrade to 20230127