[prev in list] [next in list] [prev in thread] [next in thread]
List: rpm-devel
Subject: =?utf-8?q?=5BPATCH=5D?= Fix up %efi definition in =?utf-8?q?macros=2Erpmbuild?=
From: "Bernhard Rosenkraenzer" <bero () lindev ! ch>
Date: 2017-06-05 12:59:45
Message-ID: 3e99-59355600-25-54396c00 () 61577989
[Download RAW message or body]
Hi,
these days a number of Aarch64 and even ARMv7 boards have (U)EFI suppor=
t. The efi macro should be updated accordingly (I've also moved its def=
inition down a little to make sure %{arm} is defined first).
ttyl
bero
["rpm-update-efi-macro.patch" (text/x-patch)]
--- rpm/macros/macros.rpmbuild.in~ 2011-07-29 06:26:06.000000000 +0200
+++ rpm/macros/macros.rpmbuild.in 2017-06-05 14:57:01.637191100 +0200
@@ -630,9 +630,6 @@ done \
#
%ix86 i386 i486 i586 i686 pentium3 pentium4 athlon
-# arch macro for all EFI-compatible architectures
-%efi %{ix86} x86_64 ia64
-
# same thing for arm
%arm arm armv3 armv3l armv3b armv4 armv4l armv4b armv5 armv5l armv5b armv5te \
armv5tel armv5teb xscale armv6 armv6l armv7l
@@ -650,6 +647,10 @@ done \
%mipsel mipsel mips2el mips3el mips4el loongson2e loongson2f octeonel
%mipsx %mips %mipsel mips64 mips64el
+
+# arch macro for all EFI-compatible architectures
+%efi %{ix86} x86_64 ia64 %{arm} aarch64
+
#------------------------------------------------------------------------
# Use in %install to generate locale specific file lists. For example,
______________________________________________________________________
RPM Package Manager http://rpm5.org
Developer Communication List rpm-devel@rpm5.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic