diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 00:31:33 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 00:53:44 +0200 |
commit | cd3411088f6bb4393d79c50b5f7eef3f11a83435 (patch) | |
tree | e1b44fd7c353d9018f489d03f3dea78bc876b94a /recipes-bsp/i2c-tools/i2c-tools_3.0.3.bb | |
download | meta-enea-cd3411088f6bb4393d79c50b5f7eef3f11a83435.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-bsp/i2c-tools/i2c-tools_3.0.3.bb')
-rw-r--r-- | recipes-bsp/i2c-tools/i2c-tools_3.0.3.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-bsp/i2c-tools/i2c-tools_3.0.3.bb b/recipes-bsp/i2c-tools/i2c-tools_3.0.3.bb new file mode 100644 index 0000000..021090c --- /dev/null +++ b/recipes-bsp/i2c-tools/i2c-tools_3.0.3.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "Set of i2c tools for linux" | ||
2 | SECTION = "base" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
5 | |||
6 | SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \ | ||
7 | file://Module.mk \ | ||
8 | " | ||
9 | SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4" | ||
10 | SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629" | ||
11 | |||
12 | inherit autotools | ||
13 | |||
14 | do_compile_prepend() { | ||
15 | cp ${WORKDIR}/Module.mk ${S}/eepromer/ | ||
16 | sed -i 's#/usr/local#/usr#' Makefile | ||
17 | echo "include eepromer/Module.mk" >> Makefile | ||
18 | } | ||
19 | |||
20 | do_install_append() { | ||
21 | install -d ${D}${includedir}/linux | ||
22 | install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h | ||
23 | rm -f ${D}${includedir}/linux/i2c-dev.h | ||
24 | } | ||