added my Recipes
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
SUMMARY = "Receive a forwarded serial from serial-forward and provide a PTY"
|
||||
AUTHOR = "Holger 'Zecke' Freyther"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07"
|
||||
SECTION = "console/network"
|
||||
SRCREV = "00dbec2636ae0385ad028587e20e446272ff97ec"
|
||||
PV = "1.1+gitr${SRCPV}"
|
||||
|
||||
SRC_URI = "git://github.com/freesmartphone/cornucopia.git;protocol=https;branch=master"
|
||||
S = "${WORKDIR}/git/tools/serial_forward"
|
||||
|
||||
inherit autotools native
|
||||
|
||||
do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}"
|
||||
do_deploy() {
|
||||
install -d ${DEPLOY_DIR_IMAGE}
|
||||
install -m 0755 ${B}/src/pty_forward ${DEPLOY_DIR_IMAGE}/pty-forward
|
||||
}
|
||||
|
||||
addtask deploy before do_package after do_install
|
||||
@@ -0,0 +1,27 @@
|
||||
From 2897794c337625d1951eb0b402cd8840ae2182a8 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 31 Aug 2022 10:33:57 -0700
|
||||
Subject: [PATCH] correct the typo in include file name string.h
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
tools/serial_forward/src/forward.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tools/serial_forward/src/forward.c b/tools/serial_forward/src/forward.c
|
||||
index 9fad6f9b..4c0dd9df 100644
|
||||
--- a/tools/serial_forward/src/forward.c
|
||||
+++ b/tools/serial_forward/src/forward.c
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <termios.h>
|
||||
-#include <strings.h>
|
||||
+#include <string.h>
|
||||
#include <getopt.h>
|
||||
|
||||
#include "forward.h"
|
||||
--
|
||||
2.37.3
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
From a0d815ad9918aba977aed9275b3bf3d750a1709b Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 30 Aug 2017 19:24:40 -0700
|
||||
Subject: [PATCH] serial_forward: Disable default static linking
|
||||
|
||||
This does not work with ssp turned on with hardening flags on musl
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
tools/serial_forward/src/Makefile.am | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/tools/serial_forward/src/Makefile.am b/tools/serial_forward/src/Makefile.am
|
||||
index 3f598286..bcac9bc9 100644
|
||||
--- a/tools/serial_forward/src/Makefile.am
|
||||
+++ b/tools/serial_forward/src/Makefile.am
|
||||
@@ -20,9 +20,6 @@ serial_forward_SOURCES = \
|
||||
cy8mrln.h \
|
||||
$(NULL)
|
||||
|
||||
-serial_forward_LDFLAGS = \
|
||||
- -all-static
|
||||
-
|
||||
pty_forward_SOURCES = \
|
||||
pty_forward.c \
|
||||
$(NULL)
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
SUMMARY = "Forward a serial using TCP/IP"
|
||||
AUTHOR = "Holger 'Zecke' Freyther'"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07"
|
||||
SECTION = "console/devel"
|
||||
SRCREV = "07c6fdede0870edc37a8d51d033b6e7e29aa7c91"
|
||||
PV = "1.1+gitr${SRCPV}"
|
||||
|
||||
SRC_URI = "git://github.com/freesmartphone/cornucopia.git;branch=master;protocol=https \
|
||||
file://0001-serial_forward-Disable-default-static-linking.patch;striplevel=3 \
|
||||
file://0001-correct-the-typo-in-include-file-name-string.h.patch;striplevel=3 \
|
||||
"
|
||||
S = "${WORKDIR}/git/tools/serial_forward"
|
||||
|
||||
inherit autotools
|
||||
Reference in New Issue
Block a user