All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] I2C: Support for sparc64
@ 2005-05-19  6:25 Aurelien Jarno
  2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Aurelien Jarno
  0 siblings, 2 replies; 3+ messages in thread
From: Aurelien Jarno @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

Hi all,

Please find attached a patch that was send to me by a Debian user to
make possible the build of the i2c modules on a sparc64.

Bye,
Aurelien

-- 
  .''`.  Aurelien Jarno	              GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net
-------------- next part --------------
--- i2c-2.9.0.orig/Makefile
+++ i2c-2.9.0/Makefile
@@ -142,6 +142,12 @@
 	     -mcmodel=kernel -fno-reorder-blocks -finline-limit 00 -fno-strength-reduce
 endif
 
+ifeq ($(MACHINE),sparc64)
+MODCFLAGS += -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow \
+	     -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare \
+	     -Wa,--undeclared-regs
+endif
+
 ifeq ($(SMP),1)
 MODCPPFLAGS += -D__SMP__
 endif

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-19  6:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:25 [PATCH] I2C: Support for sparc64 Aurelien Jarno
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Aurelien Jarno

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.