From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] PATCH: fix building of 3.0.0-rc3 on powerpc and
Date: Fri, 23 Nov 2007 19:52:20 +0000 [thread overview]
Message-ID: <47472F74.2090403@hhs.nl> (raw)
In-Reply-To: <473ECD90.5090603@hhs.nl>
Jean Delvare wrote:
> Hi Hans,
>
> On Wed, 21 Nov 2007 21:46:43 +0100, Hans de Goede wrote:
>> Jean Delvare wrote:
>>> Good catch, thanks. I'd rather address the problem in the top Makefile:
>>> there's no point in including prog/dump in the list of source
>>> directories if we won't build anything there. So I'd suggest something
>>> like:
>>>
>>> ifneq (,$(findstring $(MACHINE), i386 i486 i586 i686 x86_64))
>>> SRCDIRS += prog/dump
>>> endif
>>>
>>> in the top Makefile. Then you can even remove the architecture tests
>>> in prog/dump/Module.mk, as they will be redundant, and clean up that
>>> file a bit.
>>>
>> mm, so I came up with the attached patch, but for some reason that does not
>> work as MODULE_DIR gets set to prog/dump when executing install-etc on
>> platforms which do include isadump like x86_64:
>>
>> mkdir -p /var/tmp/lm_sensors-3.0.0-0.1.rc3.fc9-root-kojibuilder/etc
>> if [ ! -e
>> /var/tmp/lm_sensors-3.0.0-0.1.rc3.fc9-root-kojibuilder/etc/sensors3.conf ] ; then \
>> install -m 644 etc/sensors.conf.eg
>> /var/tmp/lm_sensors-3.0.0-0.1.rc3.fc9-root-kojibuilder/etc/sensors3.conf; \
>> fi
>> mkdir -p /var/tmp/lm_sensors-3.0.0-0.1.rc3.fc9-root-kojibuilder/usr/bin
>> install -m 755 prog/dump/sensors-conf-convert
>> /var/tmp/lm_sensors-3.0.0-0.1.rc3.fc9-root-kojibuilder/usr/bin
>> install: cannot stat `prog/dump/sensors-conf-convert': No such file or directory
>> make: *** [install-etc] Error 1
>
> There was an unrelated bug in etc/Module.mk, which your changes
> uncovered. Sorry about that. It is fixed in SVN now, please give it a
> try again. Your patch looks OK to me, so if no other problem arises,
> please commit it to SVN.
>
Ah yes, your latest SVN commit makes my patch work and makes things compile
fine on i386, x86_64, ppc and pcc64, I've just commited my patch to svn.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2007-11-23 19:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-17 11:16 [lm-sensors] PATCH: fix building of 3.0.0-rc3 on powerpc and other Hans de Goede
2007-11-18 17:12 ` [lm-sensors] PATCH: fix building of 3.0.0-rc3 on powerpc and Jean Delvare
2007-11-21 18:28 ` Jean Delvare
2007-11-21 18:53 ` Hans de Goede
2007-11-21 20:46 ` Hans de Goede
2007-11-22 20:09 ` Jean Delvare
2007-11-23 19:52 ` Hans de Goede [this message]
2007-11-24 9:31 ` 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=47472F74.2090403@hhs.nl \
--to=j.w.r.degoede@hhs.nl \
--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.