Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Will Wagner <will_wagner@carallon.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package:  lm-sensors
Date: Fri, 14 Sep 2007 10:47:08 +0100	[thread overview]
Message-ID: <46EA589C.3060407@carallon.com> (raw)
In-Reply-To: <20070914092913.GA26234@aon.at>

Bernhard,

Meant to say thank you for adding this package. I managed to get it 
building with the following patch:

Index: package/lm-sensors/lm-sensors.mk
===================================================================
--- package/lm-sensors/lm-sensors.mk	(revision 19797)
+++ package/lm-sensors/lm-sensors.mk	(working copy)
@@ -40,6 +40,10 @@
  $(TARGET_DIR)/$(LM_SENSORS_TARGET_BINARY): 
$(LM_SENSORS_DIR)/$(LM_SENSORS_BINARY)
  	cp -dpf $(LM_SENSORS_DIR)/$(LM_SENSORS_BINARY) $@
  	$(STRIP) $(STRIP_STRIP_ALL) $@
+	cp -dpf $(LM_SENSORS_DIR)/etc/sensors.conf.eg 
$(TARGET_DIR)/etc/sensors.conf
+	cp -dpf $(LM_SENSORS_DIR)/lib/libsensors.so.3.1.4 $(TARGET_DIR)/lib
+	(cd $(TARGET_DIR)/lib && ln -s libsensors.so.3.1.4 libsensors.so.3)
+	(cd $(TARGET_DIR)/lib && ln -s libsensors.so.3 libsensors.so)

  lm-sensors: uclibc libsysfs $(TARGET_DIR)/$(LM_SENSORS_TARGET_BINARY)

Bernhard Fischer wrote:
> On Fri, Sep 14, 2007 at 01:15:13AM -0700, Hebbar wrote:
>> Hi aldot,
> 
> Hi Gururaja
>>  make mklibs fails for lm-sensors because of missing lib libsensors.so.3.
>> When i searched i actually found it in $(LM_SENSORS_DIR)/lib/ folder
>> symbolically linked to libsensors.so.3.1.4. so i think we need to copy it
>>from here to root/usr/lib directory as the sensors binary is placed there.
> 
> Can you send a tested patch, please?
> 
> TIA,
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot

-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Senior Project Engineer                  Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

  reply	other threads:[~2007-09-14  9:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-01 18:01 [Buildroot] svn commit: trunk/buildroot/package: lm-sensors aldot at uclibc.org
2007-09-14  8:15 ` Hebbar
2007-09-14  9:29   ` Bernhard Fischer
2007-09-14  9:47     ` Will Wagner [this message]
2007-09-14 11:26       ` Bernhard Fischer
2007-09-14 11:30         ` Will Wagner
2007-09-14 18:06           ` Bernhard Fischer
2007-09-14 19:11             ` Bernhard Fischer

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=46EA589C.3060407@carallon.com \
    --to=will_wagner@carallon.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox