summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-08-10 14:21:41 +0200
committerAlexander Graf <agraf@suse.de>2011-10-06 09:48:02 +0200
commit0a6b8dde6523a93d263631ddb9a726b2790a3cf8 (patch)
treefcbc8b5d80284cd18c9f5d5237fbced451f6d0a4 /configure
parenta2a674204b51ec58c9bbc1bc9de62f68e1fc36f5 (diff)
downloadqemu-0a6b8dde6523a93d263631ddb9a726b2790a3cf8.tar.gz
PPC: Add new target config for pseries
We only support -M pseries when certain prerequisites are met, such as a PPC64 guest and libfdt. To only gather these requirements in a single place, this patch introduces a new CONFIG_PSERIES variable that gets set when all prerequisites are met. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 59b14947ed..29cdd752a9 100755
--- a/configure
+++ b/configure
@@ -3389,6 +3389,9 @@ case "$target_arch2" in
fi
fi
esac
+if test "$target_arch2" = "ppc64" -a "$fdt" = "yes"; then
+ echo "CONFIG_PSERIES=y" >> $config_target_mak
+fi
if test "$target_bigendian" = "yes" ; then
echo "TARGET_WORDS_BIGENDIAN=y" >> $config_target_mak
fi