From 1bbb4cdb55d3f62e3db281b7424ba22a887aac3f Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 10 Nov 2011 15:18:41 -0600 Subject: [PATCH] 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. Reviewed-on: http://gerrit.openafs.org/5835 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit c6a22d67ff9787ace2249d528eb9db99c5b19427) Change-Id: I00f9f19653a2f98276c236d7e2331bc81f7c4f13 Reviewed-on: http://gerrit.openafs.org/6643 Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- 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 4d9627260..4f4c8ed66 100644 --- a/src/libafs/MakefileProto.SOLARIS.in +++ b/src/libafs/MakefileProto.SOLARIS.in @@ -55,9 +55,9 @@ CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KDEFS) $(K # Name of directory to hold object files and libraries. KOBJ = MODLOAD - + KOBJ = MODLOAD32 MODLOAD64 - + KOBJ = MODLOAD64 # This tells Makefile.common to use it's single directory build target. -- 2.39.5