summaryrefslogtreecommitdiffstats
path: root/rules/i2c-tools.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2020-07-26 16:24:29 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-07-31 06:11:32 +0200
commite3d77d5195fe8d50662152df16771e7793b9c8b0 (patch)
tree7c6a62a35fd8fdb5629d623c3448fa2870d9a13d /rules/i2c-tools.make
parent4cb691c5a83d08e2e690fa9d46cb64930e409512 (diff)
downloadptxdist-e3d77d5195fe8d50662152df16771e7793b9c8b0.tar.gz
ptxdist-e3d77d5195fe8d50662152df16771e7793b9c8b0.tar.xz
i2c-tools: version bump 4.0 -> 4.1
The patches can be removed, as they were all backports from upstream and are applied in the meantime. Makefile has changed slightly, adapt the rules. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Message-Id: <20200726142436.3113607-6-r.schwebel@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 9a409deed..9100c8a95 100644
--- a/rules/i2c-tools.make
+++ b/rules/i2c-tools.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_I2C_TOOLS) += i2c-tools
#
# Paths and names
#
-I2C_TOOLS_VERSION := 4.0
-I2C_TOOLS_MD5 := f873c657d00bc00e9c47ed938c2cd770
+I2C_TOOLS_VERSION := 4.1
+I2C_TOOLS_MD5 := e2981debb4a822a279be7e45a0ede988
I2C_TOOLS := i2c-tools-$(I2C_TOOLS_VERSION)
I2C_TOOLS_SUFFIX := tar.xz
I2C_TOOLS_URL := https://www.kernel.org/pub/software/utils/i2c-tools/$(I2C_TOOLS).$(I2C_TOOLS_SUFFIX)
@@ -31,12 +31,14 @@ I2C_TOOLS_CONF_TOOL := NO
I2C_TOOLS_MAKE_ENV := \
$(CROSS_ENV) \
- BUILD_STATIC_LIB=0
+ BUILD_STATIC_LIB=0 \
+ BUILD_DYNAMIC_LIB=1 \
+ USE_DYNAMIC_LIB=1
# install the header files to include/i2c-tools
# this way they don't collide with the toolchain's i2c headers
I2C_TOOLS_INSTALL_OPT := \
- prefix=/usr \
+ PREFIX=/usr \
incdir=/usr/include/i2c-tools \
install