41711cfded
This reverts commit ff673f9a22
, as the
modified i2c-dev.h from i2c-tools has some definitions that conflict
with the i2c.h from the kernel headers. This means that a userspace
program or library that includes both will fail to build, as is the
case with libsoc.
Fixes:
http://autobuild.buildroot.org/results/1f4/1f451a338487a2a3c8a8f9b18540d41b90ee5aac/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
678 B
Makefile
25 lines
678 B
Makefile
################################################################################
|
|
#
|
|
# i2c-tools
|
|
#
|
|
################################################################################
|
|
|
|
I2C_TOOLS_VERSION = 3.1.0
|
|
I2C_TOOLS_SOURCE = i2c-tools-$(I2C_TOOLS_VERSION).tar.bz2
|
|
I2C_TOOLS_SITE = http://dl.lm-sensors.org/i2c-tools/releases
|
|
I2C_TOOLS_LICENSE = GPLv2+, GPLv2 (py-smbus)
|
|
I2C_TOOLS_LICENSE_FILES = COPYING
|
|
|
|
define I2C_TOOLS_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
endef
|
|
|
|
define I2C_TOOLS_INSTALL_TARGET_CMDS
|
|
for i in i2cdump i2cget i2cset i2cdetect; \
|
|
do \
|
|
$(INSTALL) -m 755 -D $(@D)/tools/$$i $(TARGET_DIR)/usr/bin/$$i; \
|
|
done
|
|
endef
|
|
|
|
$(eval $(generic-package))
|