summaryrefslogtreecommitdiff
path: root/packages/openmoko-tools
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-04-25 15:03:16 +0000
committerHolger Freyther <zecke@selfish.org>2008-04-25 15:03:16 +0000
commitb2a22aee1c2b8ad06911c95d58e342dc2f321e0a (patch)
tree5704c97648277b7751a2b9bfefd98238eaed960f /packages/openmoko-tools
parentbc6c83c99478242cb39add67e0dbec66b64f2455 (diff)
parentdf3bf31812adfe853cdb582058f9209a17c7af84 (diff)
merge of '3e22c6ee5af012d09e9027c2ade50920300fb0f2'
and 'f360c05bdca8536435cf09d573b42b34d69224ff'
Diffstat (limited to 'packages/openmoko-tools')
-rw-r--r--packages/openmoko-tools/pty-forward-native.bb24
-rw-r--r--packages/openmoko-tools/serial-forward.bb15
2 files changed, 39 insertions, 0 deletions
diff --git a/packages/openmoko-tools/pty-forward-native.bb b/packages/openmoko-tools/pty-forward-native.bb
new file mode 100644
index 0000000000..972070d6b6
--- /dev/null
+++ b/packages/openmoko-tools/pty-forward-native.bb
@@ -0,0 +1,24 @@
+LICENSE="GPL"
+SUMMARY="Receive a forwarded serial from serial-forward and provide a PTY"
+
+SRC_URI="svn://svn.openmoko.org/developers/zecke/;module=serial_forward;proto=http"
+S = "${WORKDIR}/serial_forward"
+
+inherit native
+
+do_compile() {
+ cd ${S}
+ oe_runmake
+}
+
+do_stage() {
+ :
+}
+
+do_deploy() {
+ install -d ${DEPLOY_DIR_IMAGE}
+ install -m 0755 ${S}/pty_forward ${DEPLOY_DIR_IMAGE}/pty-forward
+}
+
+addtask deploy before do_package after do_install
+
diff --git a/packages/openmoko-tools/serial-forward.bb b/packages/openmoko-tools/serial-forward.bb
new file mode 100644
index 0000000000..3cc33770d6
--- /dev/null
+++ b/packages/openmoko-tools/serial-forward.bb
@@ -0,0 +1,15 @@
+LICENSE="GPL"
+SUMMARY="Forward a serial using TCP/IP"
+
+SRC_URI="svn://svn.openmoko.org/developers/zecke/;module=serial_forward;proto=http"
+S="${WORKDIR}/serial_forward"
+
+do_compile() {
+ cd ${S}
+ oe_runmake
+}
+
+do_install() {
+ install -d ${D}/${bindir}
+ install -m 0755 ${S}/forward ${D}/${bindir}/${PN}
+}