signgp-native: convert to new-style staging
authorKoen Kooi <koen@openembedded.org>
Fri, 14 May 2010 18:25:14 +0000 (20:25 +0200)
committerKoen Kooi <koen@openembedded.org>
Fri, 14 May 2010 19:34:42 +0000 (21:34 +0200)
recipes/x-load/signgp-native.bb

index 1cbd001..3b17be3 100644 (file)
@@ -1,6 +1,8 @@
 LICENSE = "unknown"
 DESCRIPTION = "Tool to sign omap3 x-loader images"
 
+PR = "r1"
+
 inherit native 
 SRC_URI = "file://signGP.c"
 
@@ -8,7 +10,9 @@ do_compile() {
        ${CC} ${WORKDIR}/signGP.c -o signGP
 }
 
-do_stage() {
-       install -d ${STAGING_BINDIR_NATIVE}
-       install -m 0755 signGP ${STAGING_BINDIR_NATIVE}
+do_install() {
+       install -d ${D}${bindir}
+       install -m 0755 signGP ${D}${bindir}
 }
+
+NATIVE_INSTALL_WORKS = "1"