forked from pool/gnu-efi
Dirk Mueller
dc17d19983
- Update to gnu-efi 3.0.14 * Add Device Path Utilities Protocol support * Add EFI_SHELL_PROTOCOL definitions * Move EFI_SHELL_PARAMETERS_PROTOCOL related definitions to efishell.h * Add EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL definitions * Undefined Status in LibGetVariableAndSize() * Initial support for RISCV64 * lisb/str.c: simplify xtoi() * lib/hand: missing va_end * Fix dummy relocation block alignment * Add EFI_LOADED_IMAGE_DEVICE_PATH_PROTOCOL_GUID. * ARM: hide 'hidden' pragma for hosted build * lib/hand: missing va_end() in LibReinstallProtocolInterfaces() * lib/misc: avoid NULL dereference in LibInsertToTailOfBootOrder * lib/str: simplify Atoi() * efiapi.h: add RISC-V machine type definitions * apps: simplify logical constraints * riscv64: missing EFI_FUNCTION * riscv64: provide efisetjmp_arch.h * apps: define FrameBufferAddr for riscv64 * apps: memory leak in draw_boxes() * Add definitions for the EFI device tree table * Fix VS2019 Code Analysis warnings * Set NumberOfSymbols to zero * riscv64: finalize efibind.h - gnu-efi-bsc1182057-support-sbat-section.patch: Update context - Enable build on riscv64 OBS-URL: https://build.opensuse.org/request/show/925990 OBS-URL: https://build.opensuse.org/package/show/Base:System/gnu-efi?expand=0&rev=45
68 lines
2.0 KiB
RPMSpec
68 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package gnu-efi
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: gnu-efi
|
|
Version: 3.0.14
|
|
Release: 0
|
|
Summary: Library for EFI Applications
|
|
License: BSD-3-Clause AND GPL-2.0-or-later
|
|
Group: Development/Libraries/Other
|
|
URL: https://sourceforge.net/projects/gnu-efi
|
|
Source: https://download.sourceforge.net/project/gnu-efi/gnu-efi-%{version}.tar.bz2
|
|
Source1: %{name}-rpmlintrc
|
|
Patch1: gnu-efi-bsc1182057-support-sbat-section.patch
|
|
BuildRequires: kernel-source
|
|
ExclusiveArch: ia64 %{ix86} x86_64 aarch64 %{arm} riscv64
|
|
|
|
%description
|
|
Library to develop EFI applications for IA-64 (IPF), IA-32 (x86), x86_64,
|
|
ARM-32, and ARM-64 platforms using the GNU toolchain and the EFI development
|
|
environment.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1 -p1
|
|
|
|
%build
|
|
##########################
|
|
## DO NOT ADD RPM OPT FLAGS! THIS DOES NOT BUILD AGAINST GLIBC
|
|
##
|
|
##########################
|
|
# Trick spec-cleaner in avoiding a make_build expansion
|
|
%{_bindir}/make %{?_smp_mflags} LINUX_HEADERS=%{_prefix}/src/linux
|
|
|
|
%install
|
|
make install INSTALLROOT=%{buildroot} LIBDIR=%{_libdir} PREFIX=%{_prefix}
|
|
%if 0
|
|
mkdir %{buildroot}%{_libdir}/%{name}
|
|
cp -p apps/*.efi %{buildroot}%{_libdir}/%{name}
|
|
%endif
|
|
|
|
%files
|
|
%doc README.*
|
|
%{_includedir}/efi
|
|
%{_libdir}/crt0-efi-*.o
|
|
%{_libdir}/elf_*_efi.lds
|
|
%{_libdir}/libefi.a
|
|
%{_libdir}/libgnuefi.a
|
|
%if 0
|
|
%{_libdir}/%{name}
|
|
%endif
|
|
|
|
%changelog
|