[oe] [meta-oe] digitemp: fix QA issues:

Koen Kooi koen at dominion.thruhere.net
Sun Nov 27 12:04:53 UTC 2011


* missing SRC_URI checksums
* GNU_HASH QA errors:
	WARNING: QA Issue: No GNU_HASH in the elf binary: '/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/digitemp-3.6.0-r2/packages-split/digitemp/usr/sbin/digitemp_DS9097U'
	WARNING: QA Issue: No GNU_HASH in the elf binary: '/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/digitemp-3.6.0-r2/packages-split/digitemp/usr/sbin/digitemp_DS9097'
* $(uname -s) access

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
 meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb b/meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb
index 395e56a..0ac8fa3 100644
--- a/meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb
+++ b/meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb
@@ -4,14 +4,18 @@ DEPENDS = "libusb1"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=44fee82a1d2ed0676cf35478283e0aa0"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.digitemp.com/software/linux/digitemp-${PV}.tar.gz \
            file://makefile-fix.patch"
+SRC_URI[md5sum] = "9be2e48db37920f21925ae6e88f83b84"
+SRC_URI[sha256sum] = "14cfc584cd3714fe8c9a2cdc8388be49e08b5e395d95e6bcd11d4410e2505ca2"
 
-inherit autotools
-
-EXTRA_OEMAKE = "ds9097 ds9097u"
+EXTRA_OEMAKE = "ds9097 ds9097u \
+                SYSTYPE='Linux' \
+               "
+# Fix GNU_HASH QA errors
+TARGET_CC_ARCH += "${CFLAGS} ${LDFLAGS}"
 
 do_configure() {
     rm -f digitemp_*
-- 
1.7.2.5





More information about the Openembedded-devel mailing list