[Armadeus-commitlog] armadeus branch, buildroot-update, updated. armadeus-6.0-124-gedefd87
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2016-09-23 14:19:40
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via edefd879dcad327f87215211da354344a86dc2cf (commit)
from a20f9d78608d92e0c813aac62cde33f538013544 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit edefd879dcad327f87215211da354344a86dc2cf
Author: Julien BOIBESSOT <jul...@ar...>
Date: Fri Sep 23 16:14:08 2016 +0200
[BUILDROOT] 2016.08: i2c-tools: install devt headers to staging dir
-----------------------------------------------------------------------
Summary of changes:
...tools-install-devt-headers-to-staging-dir.patch | 42 ++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
create mode 100644 patches/buildroot/2016.08/004-armadeus-i2c-tools-install-devt-headers-to-staging-dir.patch
diff --git a/patches/buildroot/2016.08/004-armadeus-i2c-tools-install-devt-headers-to-staging-dir.patch b/patches/buildroot/2016.08/004-armadeus-i2c-tools-install-devt-headers-to-staging-dir.patch
new file mode 100644
index 0000000..e9b3995
--- /dev/null
+++ b/patches/buildroot/2016.08/004-armadeus-i2c-tools-install-devt-headers-to-staging-dir.patch
@@ -0,0 +1,42 @@
+From f56842d97e48382ec458f86f79fe14df6699b3fb Mon Sep 17 00:00:00 2001
+From: Julien BOIBESSOT <jul...@ar...>
+Date: Fri, 23 Sep 2016 15:57:00 +0200
+Subject: [PATCH] i2c-tools: install devt headers to staging dir
+
+On debian (and maybe other distribs), there is a package named libi2c-dev
+that install a useful header from i2c-tools (for the one wanting to write
+I2C applications). See https://packages.debian.org/fr/wheezy/libi2c-dev.
+Do the same in Buildroot. Note that "install" target in i2c-tools Makefile
+would do the job, but BR installs i2c-tools's stuff manualy.
+
+Signed-off-by: Julien BOIBESSOT <jul...@ar...>
+---
+ package/i2c-tools/i2c-tools.mk | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/package/i2c-tools/i2c-tools.mk b/package/i2c-tools/i2c-tools.mk
+index e16b940..5e095f3 100644
+--- a/package/i2c-tools/i2c-tools.mk
++++ b/package/i2c-tools/i2c-tools.mk
+@@ -8,6 +8,7 @@ I2C_TOOLS_VERSION = v3.1.2
+ I2C_TOOLS_SITE = git://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git
+ I2C_TOOLS_LICENSE = GPLv2+, GPLv2 (py-smbus)
+ I2C_TOOLS_LICENSE_FILES = COPYING
++I2C_TOOLS_INSTALL_STAGING = YES
+
+ ifeq ($(BR2_PACKAGE_PYTHON),y)
+ I2C_TOOLS_DEPENDENCIES += python
+@@ -50,6 +51,10 @@ define I2C_TOOLS_BUILD_CMDS
+ $(I2C_TOOLS_BUILD_PYSMBUS)
+ endef
+
++define I2C_TOOLS_INSTALL_STAGING_CMDS
++ $(INSTALL) -m 644 -D $(@D)/include/linux/i2c-dev.h $(STAGING_DIR)/usr/include/linux
++endef
++
+ define I2C_TOOLS_INSTALL_TARGET_CMDS
+ for i in i2cdump i2cget i2cset i2cdetect; \
+ do \
+--
+2.1.4
+
hooks/post-receive
--
armadeus
|