Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/lm-sensors
Date: Fri, 14 Sep 2007 11:48:46 -0700 (PDT)	[thread overview]
Message-ID: <20070914184846.20106A605F@busybox.net> (raw)

Author: aldot
Date: 2007-09-14 11:48:44 -0700 (Fri, 14 Sep 2007)
New Revision: 19831

Log:
- touchup a few bits that the submitter should have done in the first place


Modified:
   trunk/buildroot/package/lm-sensors/lm-sensors.mk


Changeset:
Modified: trunk/buildroot/package/lm-sensors/lm-sensors.mk
===================================================================
--- trunk/buildroot/package/lm-sensors/lm-sensors.mk	2007-09-14 11:25:29 UTC (rev 19830)
+++ trunk/buildroot/package/lm-sensors/lm-sensors.mk	2007-09-14 18:48:44 UTC (rev 19831)
@@ -29,6 +29,7 @@
 		toolchain/patch-kernel.sh $(LM_SENSORS_DIR) $(LM_SENSORS_DIR)/debian/patches \*.patch; \
 	fi
 endif
+	-$(SED) "s/-O[[:digit:]]//g" $(LM_SENSORS_DIR)/Makefile
 	touch $@
 
 $(LM_SENSORS_DIR)/$(LM_SENSORS_BINARY): $(LM_SENSORS_DIR)/.unpacked
@@ -38,6 +39,12 @@
 		DESTDIR=$(TARGET_DIR) user
 
 $(TARGET_DIR)/$(LM_SENSORS_TARGET_BINARY): $(LM_SENSORS_DIR)/$(LM_SENSORS_BINARY)
+	if [ ! -f $(TARGET_DIR)/etc/sensors.conf ]; then \
+		cp -dpf $(LM_SENSORS_DIR)/etc/sensors.conf.eg \
+			$(TARGET_DIR)/etc/sensors.conf; \
+		$(SED) '/^#/d' -e '/^[[:space:]]*$$/d' \
+			$(TARGET_DIR)/etc/sensors.conf; \
+	fi
 	cp -dpf $(LM_SENSORS_DIR)/$(LM_SENSORS_BINARY) $@
 	cp -dpf $(LM_SENSORS_DIR)/lib/libsensors.so* \
 		$(LM_SENSORS_DIR)/lib/libsensors.a $(TARGET_DIR)/usr/lib/
@@ -48,7 +55,9 @@
 
 lm-sensors-clean:
 	-$(MAKE) -C $(LM_SENSORS_DIR) clean
-	rm -f $(TARGET_DIR)/$(LM_SENSORS_TARGET_BINARY)
+	rm -f $(TARGET_DIR)/$(LM_SENSORS_TARGET_BINARY) \
+		$(TARGET_DIR)/lib/libsensors* \
+		$(TARGET_DIR)/etc/sensors.conf
 
 lm-sensors-dirclean:
 	rm -rf $(LM_SENSORS_DIR)

             reply	other threads:[~2007-09-14 18:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-14 18:48 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-06-23 11:53 [Buildroot] svn commit: trunk/buildroot/package/lm-sensors jacmet at uclibc.org
2008-06-23 11:53 jacmet at uclibc.org
2008-06-23 11:53 jacmet at uclibc.org
2008-05-11  6:43 ulf at uclibc.org
2008-01-25  9:46 thomasez at uclibc.org
2007-10-30 21:37 ulf at uclibc.org
2007-09-20 11:38 aldot at uclibc.org
2007-09-14 11:25 aldot at uclibc.org

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=20070914184846.20106A605F@busybox.net \
    --to=aldot@uclibc.org \
    --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