Whamcloud - gitweb
Should only happen with lctl, but just to be safe...
[fs/lustre-release.git] / lustre / archdep.m4
index 7c7a1c8..f298ede 100644 (file)
@@ -48,8 +48,15 @@ case ${host_cpu} in
 
 ;;
 
-        default )
-       AC_ERROR("Unknown Linux Platform")
+       powerpc )
+       AC_MSG_RESULT($host_cpu)
+        KCFLAGS='-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -D__powerpc__ -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring'
+        KCPPFLAGS='-D__KERNEL__'
+        MOD_LINK=elf32ppclinux
+;;
+
+        *)
+       AC_ERROR("Unknown Linux Platform: $host_cpu")
 esac
 
 AC_MSG_CHECKING(for MODVERSIONS)