digitemp: fix QA issues:
authorKoen Kooi <koen@dominion.thruhere.net>
Sun, 27 Nov 2011 12:03:21 +0000 (13:03 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:16:54 +0000 (08:16 -0800)
* 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

Acked-by: Otavio Salvador <otavio@ossystems.com.br>
(From meta-openembedded rev: 720cd3f32ca8cc4701e99effdd3b3da0cca8348d)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb

index 395e56a..0ac8fa3 100644 (file)
@@ -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_*