Split encdec-updater into two .oe's, one for native, one for host.
authorChris Larson <clarson@kergoth.com>
Wed, 17 Nov 2004 02:48:56 +0000 (02:48 +0000)
committerChris Larson <clarson@kergoth.com>
Wed, 17 Nov 2004 02:48:56 +0000 (02:48 +0000)
BKrev: 419abc18CIibmcw8eq6WQkx2F78tkg

encdec-updater/encdec-updater-native.oe [new file with mode: 0644]
encdec-updater/encdec-updater.oe

diff --git a/encdec-updater/encdec-updater-native.oe b/encdec-updater/encdec-updater-native.oe
new file mode 100644 (file)
index 0000000..e69de29
index 45e3eb7..f918678 100644 (file)
@@ -1,14 +1,13 @@
 SECTION = "console/utils"
 DESCRIPTION = "A tool to encode and decode the Sharp Zaurus updater.sh skript"
 
-inherit native
-
 SRC_URI = "file://encdec-updater.c"
 
 do_compile() {
        ${CC} -o encdec-updater ${WORKDIR}/encdec-updater.c
 }
 
-do_stage() {
-       install -m 0755 encdec-updater ${STAGING_BINDIR}
+do_install() {
+       install -d ${D}/${bindir}
+       install -m 0755 encdec-updater ${D}/${bindir}/
 }