From c6a22d67ff9787ace2249d528eb9db99c5b19427 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 10 Nov 2011 15:18:41 -0600 Subject: [PATCH 1/1] SOLARIS: Do not build x86 kernel module on 5.11 Oracle Solaris 11 no longer supports x86 (amd64 is required). If we try to build the x86 module, /usr/include/sys/kobj.h complains that the ISA is unsupported, and refuses to go on. So, just remove MODLOAD32 from the libafs directories to build on sunx86_511. Change-Id: Ic18936d1a0f53ed290d885617d313347aa6ce87a Reviewed-on: http://gerrit.openafs.org/5835 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/libafs/MakefileProto.SOLARIS.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libafs/MakefileProto.SOLARIS.in b/src/libafs/MakefileProto.SOLARIS.in index eff036c..d1ca97f 100644 --- a/src/libafs/MakefileProto.SOLARIS.in +++ b/src/libafs/MakefileProto.SOLARIS.in @@ -54,9 +54,9 @@ KDEFS_64 = -xarch=amd64 -xmodel=kernel CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KDEFS) $(KOPTS) ${DBUG} # Name of directory to hold object files and libraries. - + KOBJ = MODLOAD32 MODLOAD64 - + KOBJ = MODLOAD64 # This tells Makefile.common to use it's single directory build target. -- 1.9.4