summaryrefslogtreecommitdiff
path: root/packages/openmoko-tools
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2008-05-09 15:33:24 +0000
committerGraeme Gregory <dp@xora.org.uk>2008-05-09 15:33:24 +0000
commitc86351c17010dc465a11c3a81ed442ac2f33b360 (patch)
tree698f2995f56d52c1edd3903e0d8bb1b6103f42f1 /packages/openmoko-tools
parent9b0b36a3555ff8e90f8add88a7532e698a177a45 (diff)
parentae1452bf9d6de0a20242e8b8b79069bf002f7e61 (diff)
merge of '4e808662b364403781cd4e899198db521c13afc9'
and '88288139695df3e5cc87ecfe407fbad1d201c362'
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}
+}