Readd parts of patch 1 that are not upstream.
This commit is contained in:
parent
87734555de
commit
60a9a27ad7
14
basetools-arm.patch
Normal file
14
basetools-arm.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff --git a/BaseTools/Source/C/GNUmakefile b/BaseTools/Source/C/GNUmakefile
|
||||||
|
index e0dde3e..bee0059 100644
|
||||||
|
--- a/BaseTools/Source/C/GNUmakefile
|
||||||
|
+++ b/BaseTools/Source/C/GNUmakefile
|
||||||
|
@@ -22,6 +22,9 @@ ifndef ARCH
|
||||||
|
ifeq ($(uname_m),x86_64)
|
||||||
|
ARCH=X64
|
||||||
|
endif
|
||||||
|
+ ifeq ($(patsubst arm%,ARM,$(uname_m)),ARM)
|
||||||
|
+ ARCH=ARM
|
||||||
|
+ endif
|
||||||
|
ifeq ($(patsubst i%86,IA32,$(uname_m)),IA32)
|
||||||
|
ARCH=IA32
|
||||||
|
endif
|
@ -17,6 +17,7 @@ Summary: EFI Development Kit II
|
|||||||
# rm -rf edk2-r${SVNREV}/FatBinPkg
|
# rm -rf edk2-r${SVNREV}/FatBinPkg
|
||||||
# tar -cv edk2-r${SVNREV} | xz -6 > edk2-r${SVNREV}.tar.xz
|
# tar -cv edk2-r${SVNREV} | xz -6 > edk2-r${SVNREV}.tar.xz
|
||||||
Source0: edk2-r%{SVNREV}.tar.xz
|
Source0: edk2-r%{SVNREV}.tar.xz
|
||||||
|
Patch1: basetools-arm.patch
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/Emulators
|
Group: Applications/Emulators
|
||||||
@ -65,6 +66,7 @@ build EFI executables and ROMs using the GNU tools.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-r%{SVNREV}
|
%setup -q -n %{name}-r%{SVNREV}
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
source ./edksetup.sh
|
source ./edksetup.sh
|
||||||
@ -164,7 +166,7 @@ done
|
|||||||
%changelog
|
%changelog
|
||||||
* Thu Nov 14 2013 Paolo Bonzini <pbonzini@redhat.com> - 20131114svn14844-1
|
* Thu Nov 14 2013 Paolo Bonzini <pbonzini@redhat.com> - 20131114svn14844-1
|
||||||
- Upgrade to r14844.
|
- Upgrade to r14844.
|
||||||
- Remove patch 1.
|
- Remove upstreamed parts of patch 1.
|
||||||
|
|
||||||
* Fri Nov 8 2013 Paolo Bonzini <pbonzini@redhat.com> - 20130515svn14365-7
|
* Fri Nov 8 2013 Paolo Bonzini <pbonzini@redhat.com> - 20130515svn14365-7
|
||||||
- Make BaseTools compile on ARM.
|
- Make BaseTools compile on ARM.
|
||||||
|
Loading…
Reference in New Issue
Block a user