Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:ARM:Factory:Contrib:HiKey
edk2-hikey
edk2-hikey.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File edk2-hikey.spec of Package edk2-hikey
# # spec file for package edk2-hikey # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: edk2-hikey Version: 2.5~20180418T131015~7840f0aece Release: 0 Summary: Firmware required to run the HiKey Url: https://github.com/96boards-hikey/edk2 License: SUSE-Firmware Group: System/Boot Source0: edk2-%{version}.tar.xz Source1: OpenPlatformPkg-1.3.4.tar.xz Patch1: edk2_genvtf_gcc8.patch Patch2: edk2_genvtf_gcc8.diff Patch3: gcc7.diff #!BuildIgnore: gcc-PIE BuildRequires: gcc7 BuildRequires: gcc7-c++ BuildRequires: libuuid-devel BuildRequires: python BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: aarch64 %description Firmware required to run the HiKey %prep %setup -q -n edk2-%{version} -a 1 %patch1 -p1 %patch2 -p1 %patch3 -p1 ln -sf OpenPlatformPkg-1.3.4 OpenPlatformPkg #pushd OpenPlatformPkg #popd %build BUILD_OPTIONS="-a AARCH64 -p OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKey.dsc -b RELEASE -t GCC5" ARCH=AARCH64 make -C BaseTools BUILD_CC=gcc-7 BUILD_CXX=g++-7 BUILD_AS=gcc-7 . ./edksetup.sh build $BUILD_OPTIONS %install install -D -m 0644 OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/mcuimage.bin %{buildroot}/boot/mcuimage.bin %define outdir Build/HiKey/RELEASE_GCC5 install -D -m 0644 %{outdir}/FV/BL33_AP_UEFI.fd %{buildroot}/boot/BL33_AP_UEFI.fd %files %defattr(-,root,root) /boot/mcuimage.bin /boot/BL33_AP_UEFI.fd %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor