diff options
author | R Sharada <sharada@in.ibm.com> | 2005-09-19 12:42:51 +0530 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2006-07-27 09:50:32 -0600 |
commit | 80ec3db380dec6156a47f3b719929f730b9d7c98 (patch) | |
tree | b90cf217bab304bc8b62044a3c41fc2ce5238d08 /configure | |
parent | 4abf375a85c4ce439017b3873e0933c518a79334 (diff) |
basic kexec tools for ppc64 (compile warning cleanups)
Hello,
The basic_kexec_tools_for_ppc64 had a few issues with variable
redeclarations that was throwing some compile warnings on GCC 4, though I
was not seeing some of those on my GCC ver 3 on SLES9. This is a revised
patch, which cleans up the errors and this should compile ok on ppc64. I also
cleaned up a few other compile warnings that were showing up on my system.
Thanks to Michael Neuling for pointing this out.
Thanks and Regards,
Sharada
This provides the basic functionality in kexec-elf-ppc64.c to load the various
segments required for kexec-tools on ppc64. It also adds ppc64 arch support
in build scripts and cleans up some misc error in member deferencing to allow
the build to succeed.
Signed-off-by: R Sharada <sharada@in.ibm.com>
Signed-off-by: Mohan Kumar <mohan@in.ibm.com>
Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1387,6 +1387,9 @@ case $host_cpu in s390x ) host_cpu="s390" ;; + powerpc64 ) + host_cpu="ppc64" + ;; * ) host_cpu="$host_cpu" ;; @@ -1424,6 +1427,10 @@ if test "${with_gamecube+set}" = set; then EXTRA_CFLAGS="$EXTRA_CFLAGS -DCONFIG_GAMECUBE=1" fi; +# Check whether ppc64. Add -m64 for building 64-bit binary +if test "$ARCH"=ppc64; then + EXTRA_CFLAGS="$EXTRA_CFLAGS -m64" +fi; # Check whether --with-zlib or --without-zlib was given. if test "${with_zlib+set}" = set; then |