From: Daniel Laird Date: Tue, 26 Aug 2008 13:03:05 +0000 (-0000) Subject: The changes below move i2c-tools.mk to use Makefile.autotools.in X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fe75f8e88162a7369e414720b098d7c85c6df46;p=buildroot.git The changes below move i2c-tools.mk to use Makefile.autotools.in package/i2c-tools/i2c-tools.mk Use Makefile.autotools.in --- diff --git a/package/i2c-tools/i2c-tools.mk b/package/i2c-tools/i2c-tools.mk index caa1d4c4e2..d2019b032e 100644 --- a/package/i2c-tools/i2c-tools.mk +++ b/package/i2c-tools/i2c-tools.mk @@ -6,45 +6,22 @@ I2C_TOOLS_VERSION:=3.0.1 I2C_TOOLS_SOURCE:=i2c-tools-$(I2C_TOOLS_VERSION).tar.bz2 I2C_TOOLS_SITE:=http://dl.lm-sensors.org/i2c-tools/releases/ -I2C_TOOLS_DIR:=$(BUILD_DIR)/i2c-tools-$(I2C_TOOLS_VERSION) -I2C_TOOLS_BINARY:=tools/i2cdetect -I2C_TOOLS_TARGET_BINARY:=usr/bin/i2cdetect +I2C_TOOLS_AUTORECONF = NO +I2C_TOOLS_INSTALL_STAGING = YES +I2C_TOOLS_CONF_ENV = +I2C_TOOLS_CONF_OPT = +I2C_TOOLS_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) +I2C_TOOLS_DEPENDENCIES = -$(DL_DIR)/$(I2C_TOOLS_SOURCE): - $(WGET) -P $(DL_DIR) $(I2C_TOOLS_SITE)/$(I2C_TOOLS_SOURCE) +$(eval $(call AUTOTARGETS,package,i2c-tools)) -$(I2C_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(I2C_TOOLS_SOURCE) - $(BZCAT) $(DL_DIR)/$(I2C_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - toolchain/patch-kernel.sh $(I2C_TOOLS_DIR) package/i2c-tools/ i2c-tools-$(I2C_TOOLS_VERSION)\*.patch +$(I2C_TOOLS_TARGET_CONFIGURE): touch $@ -$(I2C_TOOLS_DIR)/$(I2C_TOOLS_BINARY): $(I2C_TOOLS_DIR)/.unpacked - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(I2C_TOOLS_DIR) - -$(TARGET_DIR)/$(I2C_TOOLS_TARGET_BINARY): $(I2C_TOOLS_DIR)/$(I2C_TOOLS_BINARY) - $(INSTALL) -m 755 -d $(@D) +$(I2C_TOOLS_TARGET_INSTALL_TARGET): for i in i2cdump i2cget i2cset i2cdetect; \ do \ - $(INSTALL) -m 755 $(