From 2173a419f3d01254050f83f98e0706897351597e Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 30 Aug 2018 16:18:29 +0200 Subject: fix powerpc --- kconfig | 3 ++- qemu-powerpc.cfg | 3 +++ qemu-ppc64.cfg | 3 --- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 qemu-powerpc.cfg delete mode 100644 qemu-ppc64.cfg 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-powerpc.cfg b/qemu-powerpc.cfg new file mode 100644 index 0000000..d53c46c --- /dev/null +++ b/qemu-powerpc.cfg @@ -0,0 +1,3 @@ +CONFIG_IBMVIO=y +CONFIG_IBMVETH=m +CONFIG_SCSI_IBMVSCSI=m diff --git a/qemu-ppc64.cfg b/qemu-ppc64.cfg deleted file mode 100644 index d53c46c..0000000 --- a/qemu-ppc64.cfg +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_IBMVIO=y -CONFIG_IBMVETH=m -CONFIG_SCSI_IBMVSCSI=m -- cgit