sysfsutils/0004-support-ppc64le.patch
Troy Dawson e2460cea1f RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/sysfsutils#29b04909ce55c4620f2a3ac76c5a6559f6bf3a0a
2020-10-15 10:12:59 -07:00

32 lines
961 B
Diff

From d4a7c673f65ac4ed257be7d3c380108a88f5c510 Mon Sep 17 00:00:00 2001
From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Date: Mon, 29 Jun 2020 14:26:30 +0530
Subject: [PATCH 4/8] config.guess: linux - Add support for ppc64le machine
Configure fails to guess ppc64le machine type under the Linux system.
This patch adds support to recognize ppc64le by adding it to the list
of valid Linux systems.
Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
---
config.guess | 3 +++
1 file changed, 3 insertions(+)
diff --git a/config.guess b/config.guess
index 2fc3acc..9b3e674 100644
--- a/config.guess
+++ b/config.guess
@@ -864,6 +864,9 @@ EOF
ppc64:Linux:*:*)
echo powerpc64-${VENDOR:-unknown}-linux-gnu
exit 0 ;;
+ ppc64le:Linux:*:*)
+ echo powerpc64le-${VENDOR:-unknown}-linux-gnu
+ exit 0 ;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
EV5) UNAME_MACHINE=alphaev5 ;;
--
2.28.0