From: Andrew Deason Date: Thu, 10 Nov 2011 21:18:41 +0000 (-0600) Subject: SOLARIS: Do not build x86 kernel module on 5.11 X-Git-Tag: upstream/1.6.1.pre4^2~79 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1bbb4cdb55d3f62e3db281b7424ba22a887aac3f;p=packages%2Fo%2Fopenafs.git 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 --- 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.