summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-08-30 16:18:29 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-08-30 16:18:29 +0200
commit2173a419f3d01254050f83f98e0706897351597e (patch)
tree2b093d695f94e63b9938229c4fe64b03ffade749
parentc8552db5c1920e8e243d4ae00e23e89fe11bc590 (diff)
downloadkconfig-2173a419f3d01254050f83f98e0706897351597e.tar.gz
fix powerpc
-rwxr-xr-xkconfig3
-rw-r--r--qemu-powerpc.cfg (renamed from qemu-ppc64.cfg)0
2 files changed, 2 insertions, 1 deletions
diff --git a/kconfig b/kconfig
index a863ce8..842672c 100755
--- a/kconfig
+++ b/kconfig
@@ -116,7 +116,7 @@ if test -f .config; then
elif grep -q "^CONFIG_ARM=y" .config; then
arch="arm"
elif grep -q "^CONFIG_PPC64=y" .config; then
- arch="ppc64"
+ arch="powerpc"
fi
if test "$arch" != ""; then
echo "# config arch is $arch"
@@ -124,6 +124,7 @@ if test -f .config; then
case "$(uname -m)" in
i?86) harch="i386";;
armv7*) harch="arm";;
+ ppc*) harch="powerpc";;
*) harch="$(uname -m)";;
esac
echo "# host arch is $harch"
diff --git a/qemu-ppc64.cfg b/qemu-powerpc.cfg
index d53c46c..d53c46c 100644
--- a/qemu-ppc64.cfg
+++ b/qemu-powerpc.cfg