elf2aout: merged native recipe, fixed QA hash issue
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sun, 22 Aug 2010 14:49:19 +0000 (16:49 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sun, 22 Aug 2010 14:50:17 +0000 (16:50 +0200)
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/elftoaout/elftoaout-native_2.3.bb [deleted file]
recipes/elftoaout/elftoaout_2.3.bb

diff --git a/recipes/elftoaout/elftoaout-native_2.3.bb b/recipes/elftoaout/elftoaout-native_2.3.bb
deleted file mode 100644 (file)
index 9b43805..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-SECTION = "console/utils"
-LICENSE = "GPL"
-SRC_URI = "http://www.uk.debian.org/debian/pool/main/s/sparc-utils/sparc-utils_1.9.orig.tar.gz"
-
-inherit native
-
-S = "${WORKDIR}/sparc-utils-1.9.orig/elftoaout-${PV}"
-
-do_stage() {
-       install elftoaout ${STAGING_BINDIR}
-}
-
-SRC_URI[md5sum] = "08bf3f6d8433a1f4981a2afaa6b49a6c"
-SRC_URI[sha256sum] = "b652bc27f95dcf10a7626b1d2943a1084e1e0b7f9bd3a97f9a46b6688370fe4b"
index d411d5d..256fcd2 100644 (file)
@@ -1,13 +1,19 @@
 SECTION = "console/utils"
 LICENSE = "GPL"
+PR = "r1"
+
 SRC_URI = "http://www.uk.debian.org/debian/pool/main/s/sparc-utils/sparc-utils_1.9.orig.tar.gz"
+SRC_URI[md5sum] = "08bf3f6d8433a1f4981a2afaa6b49a6c"
+SRC_URI[sha256sum] = "b652bc27f95dcf10a7626b1d2943a1084e1e0b7f9bd3a97f9a46b6688370fe4b"
 
 S = "${WORKDIR}/sparc-utils-1.9.orig/elftoaout-${PV}"
 
 do_install() {
-       install -d ${D}${bindir}
-       install elftoaout ${D}${bindir}/
+        install -d ${D}${bindir}
+        install elftoaout ${D}${bindir}/
 }
 
-SRC_URI[md5sum] = "08bf3f6d8433a1f4981a2afaa6b49a6c"
-SRC_URI[sha256sum] = "b652bc27f95dcf10a7626b1d2943a1084e1e0b7f9bd3a97f9a46b6688370fe4b"
+BBCLASSEXTEND = "native"
+
+TARGET_CC_ARCH += "${LDFLAGS}"
+NATIVE_INSTALL_WORKS = "1"