summaryrefslogtreecommitdiffstats
path: root/rules/i2c-tools.make
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-01-22 15:02:49 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-01-25 15:38:55 +0100
commit2ecf43fd607f98b60408a91f33ad6388aff7cdc0 (patch)
tree20e3075f25737b53b76fb4ebae2e133b8f3103e2 /rules/i2c-tools.make
parentc35a03820b66e1617fba7efd782b84ec8882ed87 (diff)
downloadptxdist-2ecf43fd607f98b60408a91f33ad6388aff7cdc0.tar.gz
ptxdist-2ecf43fd607f98b60408a91f33ad6388aff7cdc0.tar.xz
i2c-tools: version bump 3.1.2 -> 4.0
The main motivation was to get Wolfram's i2ctransfer tool. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/i2c-tools.make')
-rw-r--r--rules/i2c-tools.make10
1 files changed, 6 insertions, 4 deletions
diff --git a/rules/i2c-tools.make b/rules/i2c-tools.make
index fe0392f60..1fd6dd47a 100644
--- a/rules/i2c-tools.make
+++ b/rules/i2c-tools.make
@@ -16,11 +16,11 @@ PACKAGES-$(PTXCONF_I2C_TOOLS) += i2c-tools
#
# Paths and names
#
-I2C_TOOLS_VERSION := 3.1.2
-I2C_TOOLS_MD5 := 7104a1043d11a5e2c7b131614eb1b962
+I2C_TOOLS_VERSION := 4.0
+I2C_TOOLS_MD5 := f873c657d00bc00e9c47ed938c2cd770
I2C_TOOLS := i2c-tools-$(I2C_TOOLS_VERSION)
-I2C_TOOLS_SUFFIX := tar.bz2
-I2C_TOOLS_URL := http://dl.lm-sensors.org/i2c-tools/releases/$(I2C_TOOLS).$(I2C_TOOLS_SUFFIX) http://jdelvare.nerim.net/mirror/i2c-tools/$(I2C_TOOLS).$(I2C_TOOLS_SUFFIX)
+I2C_TOOLS_SUFFIX := tar.xz
+I2C_TOOLS_URL := https://www.kernel.org/pub/software/utils/i2c-tools/$(I2C_TOOLS).$(I2C_TOOLS_SUFFIX)
I2C_TOOLS_SOURCE := $(SRCDIR)/$(I2C_TOOLS).$(I2C_TOOLS_SUFFIX)
I2C_TOOLS_DIR := $(BUILDDIR)/$(I2C_TOOLS)
I2C_TOOLS_LICENSE := GPL-2.0+
@@ -65,6 +65,8 @@ $(STATEDIR)/i2c-tools.targetinstall:
@$(call install_copy, i2c-tools, 0, 0, 0755, -, /usr/sbin/i2cdump)
@$(call install_copy, i2c-tools, 0, 0, 0755, -, /usr/sbin/i2cset)
@$(call install_copy, i2c-tools, 0, 0, 0755, -, /usr/sbin/i2cget)
+ @$(call install_copy, i2c-tools, 0, 0, 0755, -, /usr/sbin/i2ctransfer)
+ @$(call install_lib, i2c-tools, 0, 0, 0644, libi2c)
@$(call install_finish, i2c-tools)