diff options
author | Steve Sakoman <steve@sakoman.com> | 2009-05-14 06:11:26 -0700 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-09-09 17:25:49 +0200 |
commit | 35ccef0bc225c7d05c98ebbc63e568aa3856d7ab (patch) | |
tree | 929be86ff3e73e7a68e7d75cbde6fa43fcee3165 /recipes/i2c-tools/i2c-tools_3.0.2.bb | |
parent | 33dab639015d787725f9589f534161995aca1fce (diff) |
i2c-tools: build & install eepromer tools
Diffstat (limited to 'recipes/i2c-tools/i2c-tools_3.0.2.bb')
-rw-r--r-- | recipes/i2c-tools/i2c-tools_3.0.2.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes/i2c-tools/i2c-tools_3.0.2.bb b/recipes/i2c-tools/i2c-tools_3.0.2.bb index c8ea32a5f1..c44af1e3ba 100644 --- a/recipes/i2c-tools/i2c-tools_3.0.2.bb +++ b/recipes/i2c-tools/i2c-tools_3.0.2.bb @@ -2,11 +2,17 @@ DESCRIPTION = "Set of i2c tools for linux" SECTION = "base" LICENSE = "GPL" -SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2" +PR = "r1" + +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 } |