diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-23 11:53:41 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-23 11:53:41 +0000 |
commit | 49adf4b01ae86ee702dd0e8b0830b977b7624431 (patch) | |
tree | 575b8c3db7ab462b1d7bb6977c844d2907bd01b3 /package/lm-sensors/lm-sensors.mk | |
parent | 426cd57b26bef7a06038eceff669b363c2b8bdda (diff) |
lm-sensors: bump version and cleanup
- Bump version to 3.0.2 which no longer needs libsysfs
- Set MACHINE correctly, so it doesn't try to build isa stuff for non-i386
- Cleanup make invocation
Diffstat (limited to 'package/lm-sensors/lm-sensors.mk')
-rw-r--r-- | package/lm-sensors/lm-sensors.mk | 33 |
1 files changed, 8 insertions, 25 deletions
diff --git a/package/lm-sensors/lm-sensors.mk b/package/lm-sensors/lm-sensors.mk index 286918cfb..c2a378bea 100644 --- a/package/lm-sensors/lm-sensors.mk +++ b/package/lm-sensors/lm-sensors.mk @@ -3,42 +3,25 @@ # lm-sensors # ############################################################# -LM_SENSORS_VERSION:=2.10.6 -LM_SENSORS_SOURCE:=lm-sensors_$(LM_SENSORS_VERSION).orig.tar.gz -LM_SENSORS_PATCH:=lm-sensors_$(LM_SENSORS_VERSION)-2.diff.gz -LM_SENSORS_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/l/lm-sensors/ +LM_SENSORS_VERSION:=3.0.2 +LM_SENSORS_SOURCE:=lm_sensors-$(LM_SENSORS_VERSION).tar.bz2 +LM_SENSORS_SITE:=http://dl.lm-sensors.org/lm-sensors/releases LM_SENSORS_DIR:=$(BUILD_DIR)/lm_sensors-$(LM_SENSORS_VERSION) -LM_SENSORS_CAT:=$(ZCAT) +LM_SENSORS_CAT:=$(BZCAT) LM_SENSORS_BINARY:=prog/sensors/sensors LM_SENSORS_TARGET_BINARY:=usr/bin/sensors $(DL_DIR)/$(LM_SENSORS_SOURCE): $(WGET) -P $(DL_DIR) $(LM_SENSORS_SITE)/$(LM_SENSORS_SOURCE) -ifneq ($(LM_SENSORS_PATCH),) -LM_SENSORS_PATCH_FILE:=$(DL_DIR)/$(LM_SENSORS_PATCH) -$(DL_DIR)/$(LM_SENSORS_PATCH): - $(WGET) -P $(DL_DIR) $(LM_SENSORS_SITE)/$(LM_SENSORS_PATCH) -endif - -$(LM_SENSORS_DIR)/.unpacked: $(DL_DIR)/$(LM_SENSORS_SOURCE) $(DL_DIR)/$(LM_SENSORS_PATCH) +$(LM_SENSORS_DIR)/.unpacked: $(DL_DIR)/$(LM_SENSORS_SOURCE) $(LM_SENSORS_CAT) $(DL_DIR)/$(LM_SENSORS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(LM_SENSORS_DIR) package/lm-sensors/ lm-sensors\*.patch -ifneq ($(LM_SENSORS_PATCH),) - (cd $(LM_SENSORS_DIR) && \ - $(LM_SENSORS_CAT) $(LM_SENSORS_PATCH_FILE) | patch -p1) - if [ -d $(LM_SENSORS_DIR)/debian/patches ]; then \ - 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 - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(LM_SENSORS_DIR) \ - LINUX="$(LINUX_DIR)" KERNELVERSION=$(LINUX_HEADERS_VERSION) \ - I2C_HEADERS=$(LINUX_DIR)/include \ - DESTDIR=$(TARGET_DIR) user + $(MAKE) $(TARGET_CONFIGURE_OPTS) MACHINE=$(KERNEL_ARCH)\ + -C $(LM_SENSORS_DIR) $(TARGET_DIR)/$(LM_SENSORS_TARGET_BINARY): $(LM_SENSORS_DIR)/$(LM_SENSORS_BINARY) if [ ! -f $(TARGET_DIR)/etc/sensors.conf ]; then \ @@ -57,7 +40,7 @@ lm-sensors-source: $(DL_DIR)/$(LM_SENSORS_SOURCE) $(LM_SENSORS_PATCH_FILE) lm-sensors-unpacked: $(LM_SENSORS_DIR)/.unpacked -lm-sensors: uclibc libsysfs $(TARGET_DIR)/$(LM_SENSORS_TARGET_BINARY) +lm-sensors: uclibc $(TARGET_DIR)/$(LM_SENSORS_TARGET_BINARY) lm-sensors-clean: -$(MAKE) -C $(LM_SENSORS_DIR) clean |