Signed-off-by: Jouko Nikula <jouko.nikula@espotel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
I2C_TOOLS_SITE = http://dl.lm-sensors.org/i2c-tools/releases
I2C_TOOLS_LICENSE = GPLv2+, GPLv2 (py-smbus)
I2C_TOOLS_LICENSE_FILES = COPYING
+I2C_TOOLS_INSTALL_STAGING = YES
define I2C_TOOLS_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
done
endef
+define I2C_TOOLS_INSTALL_STAGING_CMDS
+ $(INSTALL) -D -m644 $(@D)/include/linux/i2c-dev.h $(STAGING_DIR)/usr/include/linux/
+endef
+
$(eval $(generic-package))