]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
SOLARIS: Do not build x86 kernel module on 5.11
authorAndrew Deason <adeason@sinenomine.net>
Thu, 10 Nov 2011 21:18:41 +0000 (15:18 -0600)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 5 Feb 2012 18:06:55 +0000 (10:06 -0800)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit c6a22d67ff9787ace2249d528eb9db99c5b19427)

Change-Id: I00f9f19653a2f98276c236d7e2331bc81f7c4f13
Reviewed-on: http://gerrit.openafs.org/6643
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/libafs/MakefileProto.SOLARIS.in

index 4d962726097b8bc4ba0075acf8b474c50a2d3f72..4f4c8ed665ec11d50e648c6a82bb06ef64f03c62 100644 (file)
@@ -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.
 <all -sun4x_57 -sun4x_58 -sun4x_59 -sun4x_510 -sun4x_511 -sunx86_57 -sunx86_58 -sunx86_59 -sunx86_510 -sunx86_511>
 KOBJ = MODLOAD
-<sun4x_57 sun4x_58 sun4x_59 sunx86_57 sunx86_58 sunx86_59 sunx86_510 sunx86_511>
+<sun4x_57 sun4x_58 sun4x_59 sunx86_57 sunx86_58 sunx86_59 sunx86_510>
 KOBJ = MODLOAD32 MODLOAD64
-<sun4x_510 sun4x_511>
+<sun4x_510 sun4x_511 sunx86_511>
 KOBJ = MODLOAD64
 
 # This tells Makefile.common to use it's single directory build target.