From 0a6b8dde6523a93d263631ddb9a726b2790a3cf8 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 10 Aug 2011 14:21:41 +0200 Subject: 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 --- configure | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure') 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 -- cgit v1.2.1