Accepting request 586549 from home:kasimir:ToTest

- Fix armv6 builds
  * Renamed gnu-efi-fix-armv7-detection.patch to gnu-efi-fix-armv6-and-armv7-detection.patch

OBS-URL: https://build.opensuse.org/request/show/586549
OBS-URL: https://build.opensuse.org/package/show/Base:System/gnu-efi?expand=0&rev=30
This commit is contained in:
Dirk Mueller 2018-03-20 14:52:11 +00:00 committed by Git OBS Bridge
parent 4521341754
commit 884d50a670
4 changed files with 23 additions and 14 deletions

View File

@ -0,0 +1,16 @@
--- Make.defaults.orig 2018-03-13 21:33:01.937164183 +0100
+++ Make.defaults 2018-03-13 21:35:29.487916123 +0100
@@ -75,6 +75,13 @@ ifeq ($(ARCH),amd64)
override ARCH := x86_64
endif
+ifeq ($(ARCH),armv6hl)
+ override ARCH := arm
+endif
+ifeq ($(ARCH),armv7hl)
+ override ARCH := arm
+endif
+
#
# Where to build the package
#

View File

@ -1,13 +0,0 @@
--- Make.defaults.orig 2018-02-01 10:32:41.616449383 +0100
+++ Make.defaults 2018-02-01 10:35:05.964876126 +0100
@@ -75,6 +75,10 @@ ifeq ($(ARCH),amd64)
override ARCH := x86_64
endif
+ifeq ($(ARCH),armv7hl)
+ override ARCH := arm
+endif
+
#
# Where to build the package
#

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 13 22:06:59 UTC 2018 - kasimir_@outlook.de
- Fix armv6 builds
* Renamed gnu-efi-fix-armv7-detection.patch to gnu-efi-fix-armv6-and-armv7-detection.patch
-------------------------------------------------------------------
Sat Jan 27 16:55:32 UTC 2018 - guillaume@opensuse.org

View File

@ -28,7 +28,7 @@ Source1: %{name}-rpmlintrc
Patch1: gnu-efi-fix-switch-warning.patch
Patch2: gnu-efi-ar-stable-order.patch
Patch3: gnu-efi-fix-efi-pxe-base-code.patch
Patch4: gnu-efi-fix-armv7-detection.patch
Patch4: gnu-efi-fix-armv6-and-armv7-detection.patch
BuildRequires: kernel-source
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: ia64 %ix86 x86_64 aarch64 %arm