!12 add support for loongarch64

From: @dpdwaj 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-02-28 00:37:39 +00:00 committed by Gitee
commit c6d4e8e30e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,11 +1,11 @@
%define _default_patch_fuzz 2 %define _default_patch_fuzz 2
Name: vboot-utils Name: vboot-utils
Version: 20230127 Version: 20230127
Release: 1 Release: 2
Summary: Chromium OS verified boot utility Summary: Chromium OS verified boot utility
License: BSD License: BSD
URL: https://chromium.googlesource.com/chromiumos/platform/vboot_reference URL: https://chromium.googlesource.com/chromiumos/platform/vboot_reference
ExclusiveArch: aarch64 x86_64 ExclusiveArch: aarch64 x86_64 loongarch64
Source0: %{name}-9b08a3c4.tar.xz Source0: %{name}-9b08a3c4.tar.xz
Patch0: vboot-utils-9b08a3c4.patch Patch0: vboot-utils-9b08a3c4.patch
@ -26,6 +26,9 @@ manage gpt partitions.
%ifarch x86_64 %ifarch x86_64
%global ARCH x86_64 %global ARCH x86_64
%endif %endif
%ifarch loongarch64
%global ARCH loongarch64
%endif
%make_build V=1 ARCH=%{ARCH} COMMON_FLAGS="$RPM_OPT_FLAGS" USE_FLASHROM=0 %make_build V=1 ARCH=%{ARCH} COMMON_FLAGS="$RPM_OPT_FLAGS" USE_FLASHROM=0
%install %install
@ -44,6 +47,9 @@ rm -f %{buildroot}/usr/lib/libvboot_host.a
%{_datadir}/vboot/devkeys/ %{_datadir}/vboot/devkeys/
%changelog %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 * Wed Jul 19 2023 xu_ping <707078654@qq.com> - 20230127-1
- upgrade to 20230127 - upgrade to 20230127