On Tuesday 27 March 2007 17:41, you wrote:
> Hi Henning.
>
> I tested the compilation and it does not detect the architecture.
>
> I think that maybe is because of uname -p outputs sparc, and uname -m
> outputs sun4v.
> [..]

Hi Sergio,

thank you for the testing. I add another check to the patch according your 
suggestions, could please try it another time?

Cheers,

Henning
Index: Makefile.defs
===================================================================
--- Makefile.defs	(Revision 1921)
+++ Makefile.defs	(Arbeitskopie)
@@ -74,7 +74,8 @@
 endif
 
 ARCH := $(shell $(GETARCH) |sed -e s/i.86/i386/ -e s/sun4u/sparc64/  \
-			-e s/armv4l/arm/ -e "s/Power Macintosh/ppc/" \
+			-e s/sun4v/sparc64/ -e s/armv4l/arm/ \
+			-e "s/Power Macintosh/ppc/" \
 			-e "s/cobalt/mips2/" \
 			-e s/amd64/x86_64/ )
 # fix sparc -> sparc64
@@ -82,6 +83,9 @@
 	ifeq ($(shell uname -m),sun4u)
 		ARCH := sparc64
 	endif
+	ifeq ($(shell uname -m),sun4v)
+		ARCH := sparc64
+	endif
 endif
 
 SMP_STR = $(shell uname -v | grep -i "SMP")
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to