Patchwork [3/3] i2c-tools: update to latest 3.0.3

login
register
mail settings
Submitter Eric BENARD
Date Jan. 7, 2011, 9:47 p.m.
Message ID <1294436836-28074-3-git-send-email-eric@eukrea.com>
Download mbox | patch
Permalink /patch/198/
State Accepted
Headers show

Comments

Eric BENARD - Jan. 7, 2011, 9:47 p.m.
from CHANGES :
  Makefile: Let the environment set CC and CFLAGS
            Integrate py-smbus into the build system
  README: Point users to the linux-i2c mailing list
  decode-dimms: Handle CRC of FB-DIMM and DDR3 SDRAM memory modules
                Add support for DDR3 SDRAM
                Fix decoding of SDR SDRAM bytes 12-14
                Add side-by-side formatting option
                Add merged cells formatting option
                Try harder to decode the manufacturing date
                Handle read errors on sysfs
                Decode voltage interface level of DDR SDRAM
  decode-xeon: Delete
  eepromer: Fix array initialization overrun
  i2cdetect: Drop legacy reference to ISA bus
  i2cset: Add support for short writes with PEC
  i2c-stub-from-dump: Use udev settle to speed up initialization
                      Unload i2c-stub automatically if needed
                      Add support for multiple dumps
  tools: Properly handle /dev/i2c not being a directory
         Increase limit on I2C bus number

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 recipes/i2c-tools/i2c-tools_3.0.2.bb |   27 ---------------------------
 recipes/i2c-tools/i2c-tools_3.0.3.bb |   26 ++++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 27 deletions(-)
 delete mode 100644 recipes/i2c-tools/i2c-tools_3.0.2.bb
 create mode 100644 recipes/i2c-tools/i2c-tools_3.0.3.bb
Khem Raj - Jan. 7, 2011, 10:16 p.m.
On Fri, Jan 7, 2011 at 1:47 PM, Eric Bénard <eric@eukrea.com> wrote:
> from CHANGES :
>  Makefile: Let the environment set CC and CFLAGS
>            Integrate py-smbus into the build system
>  README: Point users to the linux-i2c mailing list
>  decode-dimms: Handle CRC of FB-DIMM and DDR3 SDRAM memory modules
>                Add support for DDR3 SDRAM
>                Fix decoding of SDR SDRAM bytes 12-14
>                Add side-by-side formatting option
>                Add merged cells formatting option
>                Try harder to decode the manufacturing date
>                Handle read errors on sysfs
>                Decode voltage interface level of DDR SDRAM
>  decode-xeon: Delete
>  eepromer: Fix array initialization overrun
>  i2cdetect: Drop legacy reference to ISA bus
>  i2cset: Add support for short writes with PEC
>  i2c-stub-from-dump: Use udev settle to speed up initialization
>                      Unload i2c-stub automatically if needed
>                      Add support for multiple dumps
>  tools: Properly handle /dev/i2c not being a directory
>         Increase limit on I2C bus number
>
> Signed-off-by: Eric Bénard <eric@eukrea.com>


Acked-by: Khem Raj <raj.khem@gmail.com>
> ---
>  recipes/i2c-tools/i2c-tools_3.0.2.bb |   27 ---------------------------
>  recipes/i2c-tools/i2c-tools_3.0.3.bb |   26 ++++++++++++++++++++++++++
>  2 files changed, 26 insertions(+), 27 deletions(-)
>  delete mode 100644 recipes/i2c-tools/i2c-tools_3.0.2.bb
>  create mode 100644 recipes/i2c-tools/i2c-tools_3.0.3.bb
>
> diff --git a/recipes/i2c-tools/i2c-tools_3.0.2.bb b/recipes/i2c-tools/i2c-tools_3.0.2.bb
> deleted file mode 100644
> index 44559ef..0000000
> --- a/recipes/i2c-tools/i2c-tools_3.0.2.bb
> +++ /dev/null
> @@ -1,27 +0,0 @@
> -DESCRIPTION = "Set of i2c tools for linux"
> -SECTION = "base"
> -LICENSE = "GPLv2"
> -
> -PR = "r5"
> -
> -SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
> -           file://Module.mk \
> -          "
> -
> -inherit autotools
> -
> -do_compile_prepend() {
> -        cp ${WORKDIR}/Module.mk ${S}/eepromer/
> -        sed -i 's#/usr/local#/usr#' Makefile
> -        sed -i 's#CC\t:= gcc#CC\t:= ${CC}#' Makefile
> -        echo "include eepromer/Module.mk" >> Makefile
> -}
> -
> -do_install_append() {
> -        install -d ${D}${includedir}/linux
> -        install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
> -       rm -f ${D}${includedir}/linux/i2c-dev.h
> -}
> -
> -SRC_URI[md5sum] = "b546345ac19db56719dea6b8199f11e0"
> -SRC_URI[sha256sum] = "0b4d6455a30a3264a60b4d3be55855d996d52ea4f162a2f04ffff378e24f98a2"
> diff --git a/recipes/i2c-tools/i2c-tools_3.0.3.bb b/recipes/i2c-tools/i2c-tools_3.0.3.bb
> new file mode 100644
> index 0000000..7d6d668
> --- /dev/null
> +++ b/recipes/i2c-tools/i2c-tools_3.0.3.bb
> @@ -0,0 +1,26 @@
> +DESCRIPTION = "Set of i2c tools for linux"
> +SECTION = "base"
> +LICENSE = "GPLv2"
> +
> +PR = "r0"
> +
> +SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
> +           file://Module.mk \
> +          "
> +
> +inherit autotools
> +
> +do_compile_prepend() {
> +        cp ${WORKDIR}/Module.mk ${S}/eepromer/
> +        sed -i 's#/usr/local#/usr#' Makefile
> +        echo "include eepromer/Module.mk" >> Makefile
> +}
> +
> +do_install_append() {
> +        install -d ${D}${includedir}/linux
> +        install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
> +       rm -f ${D}${includedir}/linux/i2c-dev.h
> +}
> +
> +SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4"
> +SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629"
> --
> 1.6.3.3
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Patch

diff --git a/recipes/i2c-tools/i2c-tools_3.0.2.bb b/recipes/i2c-tools/i2c-tools_3.0.2.bb
deleted file mode 100644
index 44559ef..0000000
--- a/recipes/i2c-tools/i2c-tools_3.0.2.bb
+++ /dev/null
@@ -1,27 +0,0 @@ 
-DESCRIPTION = "Set of i2c tools for linux"
-SECTION = "base"
-LICENSE = "GPLv2"
-
-PR = "r5"
-
-SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
-           file://Module.mk \
-          "
-
-inherit autotools
-
-do_compile_prepend() {
-        cp ${WORKDIR}/Module.mk ${S}/eepromer/
-        sed -i 's#/usr/local#/usr#' Makefile
-        sed -i 's#CC\t:= gcc#CC\t:= ${CC}#' Makefile
-        echo "include eepromer/Module.mk" >> Makefile
-}
-
-do_install_append() {
-        install -d ${D}${includedir}/linux
-        install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
-	rm -f ${D}${includedir}/linux/i2c-dev.h
-}
-
-SRC_URI[md5sum] = "b546345ac19db56719dea6b8199f11e0"
-SRC_URI[sha256sum] = "0b4d6455a30a3264a60b4d3be55855d996d52ea4f162a2f04ffff378e24f98a2"
diff --git a/recipes/i2c-tools/i2c-tools_3.0.3.bb b/recipes/i2c-tools/i2c-tools_3.0.3.bb
new file mode 100644
index 0000000..7d6d668
--- /dev/null
+++ b/recipes/i2c-tools/i2c-tools_3.0.3.bb
@@ -0,0 +1,26 @@ 
+DESCRIPTION = "Set of i2c tools for linux"
+SECTION = "base"
+LICENSE = "GPLv2"
+
+PR = "r0"
+
+SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
+           file://Module.mk \
+          "
+
+inherit autotools
+
+do_compile_prepend() {
+        cp ${WORKDIR}/Module.mk ${S}/eepromer/
+        sed -i 's#/usr/local#/usr#' Makefile
+        echo "include eepromer/Module.mk" >> Makefile
+}
+
+do_install_append() {
+        install -d ${D}${includedir}/linux
+        install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
+	rm -f ${D}${includedir}/linux/i2c-dev.h
+}
+
+SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4"
+SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629"