From 4de00b3d025bbb82bbdba7dc4574fe4cd739cc03 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Wed, 12 Nov 2008 13:40:05 +0000 Subject: [PATCH] add support for ppc64 in installer --- misc/setup/doit | 5 +++++ misc/setup/setup.xml.in | 12 +++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/misc/setup/doit b/misc/setup/doit index d5141abf..033d88ca 100755 --- a/misc/setup/doit +++ b/misc/setup/doit @@ -35,6 +35,8 @@ copystartscript() mkdir -p image/bin/Linux/$arch if [ "$arch" = x86_64 ]; then ln -s x86_64 image/bin/Linux/amd64 + elif [ "$arch" = ppc ]; then + ln -s ppc image/bin/Linux/ppc64 fi install -m 755 ioquake3.sh image/bin/Linux/$arch/ioquake3 install -m 755 ioq3demo.sh image/bin/Linux/$arch/ioq3demo @@ -53,6 +55,9 @@ for arch in $topdir/build/release-*; do ppc) echo "define(HAVE_PPC,yes)dnl" >> defines.m4 copystartscript $arch ;; + ppc64) echo "define(HAVE_PPC64,yes)dnl" >> defines.m4 + copystartscript $arch + ;; *) echo "architecture $arch unsupported" continue; diff --git a/misc/setup/setup.xml.in b/misc/setup/setup.xml.in index 727c6d14..b8201018 100644 --- a/misc/setup/setup.xml.in +++ b/misc/setup/setup.xml.in @@ -35,7 +35,7 @@ ifelse(HAVE_I386,yes,dnl )dnl ifelse(HAVE_PPC,yes,dnl - +)dnl +ifelse(HAVE_PPC64,yes,dnl + )dnl