summaryrefslogtreecommitdiff
path: root/packages/wrt/wrt-imagetools-native.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/wrt/wrt-imagetools-native.bb')
-rw-r--r--packages/wrt/wrt-imagetools-native.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/wrt/wrt-imagetools-native.bb b/packages/wrt/wrt-imagetools-native.bb
index e69de29bb2..cd5d802765 100644
--- a/packages/wrt/wrt-imagetools-native.bb
+++ b/packages/wrt/wrt-imagetools-native.bb
@@ -0,0 +1,16 @@
+SRC_URI = "cvs://anonymous@openwrt.org/openwrt;module=openwrt/target/utils/src;tag=TESTED"
+S = "${WORKDIR}/src/"
+
+inherit native
+
+do_compile() {
+ ${CC} -o trx trx.c
+ ${CC} -o motorola-bin motorola-bin.c
+ ${CC} -o addpattern addpattern.c
+}
+
+do_stage() {
+ install -m 0755 ${S}/trx ${STAGING_BINDIR}
+ install -m 0755 ${S}/motorola-bin ${STAGING_BINDIR}
+ install -m 0755 ${S}/addpattern ${STAGING_BINDIR}
+} \ No newline at end of file