Просмотр исходного кода

package/agent-proxy: new package

Signed-off-by: Rufus Segar <rhs@riseup.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Rufus Segar 3 лет назад
Родитель
Сommit
b69fe70c26

+ 3 - 0
DEVELOPERS

@@ -2569,6 +2569,9 @@ F:	support/testing/tests/package/test_glxinfo.py
 F:	support/testing/tests/package/test_openssh.py
 F:	toolchain/
 
+N:	Rufus Segar <rhs@riseup.net>
+F:	package/agent-proxy/
+
 N:	Ryan Wilkins <ryan@deadfrog.net>
 F:	package/biosdevname/
 

+ 1 - 0
package/Config.in.host

@@ -2,6 +2,7 @@ menu "Host utilities"
 
 	source "package/abootimg/Config.in.host"
 	source "package/aespipe/Config.in.host"
+	source "package/agent-proxy/Config.in.host"
 	source "package/android-tools/Config.in.host"
 	source "package/asn1c/Config.in.host"
 	source "package/babeltrace2/Config.in.host"

+ 11 - 0
package/agent-proxy/Config.in.host

@@ -0,0 +1,11 @@
+config BR2_PACKAGE_HOST_AGENT_PROXY
+	bool "host agent-proxy"
+	help
+	  This is a simple, small proxy which was intended for use
+	  with kgdb, or gdbserver type connections where you want to
+	  share a text console and a debug session.
+
+	  The idea is that you use the agent-proxy to connect to a
+	  serial port directly or to a remote terminal server.
+
+	  git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git

+ 3 - 0
package/agent-proxy/agent-proxy.hash

@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  c4db014339b5bbdae3d98e814844e1b80d87b663a343f7d33fdb89fdbb02f16d  agent-proxy-agent-proxy-1.97-br1.tar.gz
+sha256  e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4  COPYING

+ 20 - 0
package/agent-proxy/agent-proxy.mk

@@ -0,0 +1,20 @@
+################################################################################
+#
+# agent-proxy
+#
+################################################################################
+
+AGENT_PROXY_VERSION = agent-proxy-1.97
+AGENT_PROXY_SITE = git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git
+AGENT_PROXY_LICENSE = GPL-2.0
+AGENT_PROXY_LICENSE_FILES = COPYING
+
+define HOST_AGENT_PROXY_BUILD_CMDS
+	$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+define HOST_AGENT_PROXY_INSTALL_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/agent-proxy $(HOST_DIR)/bin/agent-proxy
+endef
+
+$(eval $(host-generic-package))