From: aurel32@debian.org (Aurelien Jarno)
To: lm-sensors@vger.kernel.org
Subject: [PATCH] I2C: Support for sparc64
Date: Thu, 19 May 2005 06:25:28 +0000 [thread overview]
Message-ID: <20050103002237.GA7554@bode.aurel32.lan> (raw)
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
next reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 Aurelien Jarno [this message]
2005-05-19 6:25 ` [PATCH] I2C: Support for sparc64 Aurelien Jarno
2005-05-19 6:25 ` Jean Delvare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050103002237.GA7554@bode.aurel32.lan \
--to=aurel32@debian.org \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.