summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/zaurus-utils/encdec-updater-native.bb2
-rw-r--r--recipes/zaurus-utils/encdec-updater.bb3
2 files changed, 3 insertions, 2 deletions
diff --git a/recipes/zaurus-utils/encdec-updater-native.bb b/recipes/zaurus-utils/encdec-updater-native.bb
deleted file mode 100644
index d2b719ca02..0000000000
--- a/recipes/zaurus-utils/encdec-updater-native.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require encdec-updater.bb
-inherit native
diff --git a/recipes/zaurus-utils/encdec-updater.bb b/recipes/zaurus-utils/encdec-updater.bb
index 72ecdcad48..7bd85c5a60 100644
--- a/recipes/zaurus-utils/encdec-updater.bb
+++ b/recipes/zaurus-utils/encdec-updater.bb
@@ -6,6 +6,9 @@ SRC_URI = "file://encdec-updater.c"
COMPATIBLE_MACHINE = '(poodle|c7x0|spitz|akita|tosa)'
+BBCLASSEXTEND = "native"
+NATIVE_INSTALL_WORKS = "1"
+
do_compile() {
${CC} ${LDFLAGS} -o encdec-updater ${WORKDIR}/encdec-updater.c
}