From: Axel.Thimm@ATrpms.net (Axel Thimm)
To: lm-sensors@vger.kernel.org
Subject: Upcoming rpms: i2c headers under /usr/include/i2c
Date: Thu, 19 May 2005 06:25:28 +0000 [thread overview]
Message-ID: <20050103212012.GA29061@neu.nirvana> (raw)
In-Reply-To: <20041230173527.GF10397@neu.nirvana>
On Mon, Jan 03, 2005 at 01:40:07PM +0100, Jean Delvare wrote:
> > > I have no idea where the correct location would be, so anything you
> > > come with is fine with me.
> >
> > Perhaps indeed /usr/include/i2c/linux/i2c?
> >
> > And I2C_HEADERS need to point (and default) to /usr/include/i2c, while
> >
> > #include <linux/i2c/....>
> >
> > picks the header either from a proper Linux kernel tree or from
> > I2C_HEADERS.
>
> Since the includes actually are <linux/...>, not <linux/i2c/...>, that
> would be /use/include/i2c/linux. It is obviously important to have the
> same include "tree" (even if it has just a depth of 1) in /usr/include
> (or wherever it'll end) than we have in the Linux kernel source tree.
Yes, I mistyped the above. Actually for the rpms I did
mkdir -p %{buildroot}%{_includedir}/i2c/linux
cp -a kernel/*.h %{buildroot}%{_includedir}/i2c/linux
where buildroot is the "DESTDIR" for rpm builds and _includedir is the
macro pointing to /usr/include.
So I'm using /usr(/local)/include/i2c/linux for the headers and the
extra i2c slipped only in the mail above :)
BTW I didn't make any special announcements here, but the i2c and
lm_sensors rpm for RH7.3 til FC3 are uploaded at ATrpms. :=)
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050103/ede87b4b/attachment.bin
next prev parent reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 Upcoming rpms: i2c headers under /usr/include/i2c Axel Thimm
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Axel Thimm
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Axel Thimm [this message]
2005-05-19 6:25 ` Axel Thimm
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=20050103212012.GA29061@neu.nirvana \
--to=axel.thimm@atrpms.net \
--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.