All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package: agent-proxy
@ 2022-05-06 16:42 Rufus Segar
  2022-05-06 16:42 ` [Buildroot] [PATCH 1/1] package: kdmx Rufus Segar
  0 siblings, 1 reply; 3+ messages in thread
From: Rufus Segar @ 2022-05-06 16:42 UTC (permalink / raw)
  To: buildroot; +Cc: Rufus Segar, Thomas Petazzoni

Signed-off-by: Rufus Segar <rhs@riseup.net>
---
 package/Config.in                  |  1 +
 package/agent-proxy/Config.in      | 11 +++++++++++
 package/agent-proxy/agent-proxy.mk | 24 ++++++++++++++++++++++++
 3 files changed, 36 insertions(+)
 create mode 100644 package/agent-proxy/Config.in
 create mode 100644 package/agent-proxy/agent-proxy.mk

diff --git a/package/Config.in b/package/Config.in
index 8892134133..40e41d77a9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -83,6 +83,7 @@ menu "Compressors and decompressors"
 endmenu
 
 menu "Debugging, profiling and benchmark"
+	source "package/agent-proxy/Config.in"
 	source "package/babeltrace2/Config.in"
 	source "package/blktrace/Config.in"
 	source "package/bonnie/Config.in"
diff --git a/package/agent-proxy/Config.in b/package/agent-proxy/Config.in
new file mode 100644
index 0000000000..fb66599589
--- /dev/null
+++ b/package/agent-proxy/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_AGENT_PROXY
+	bool "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
diff --git a/package/agent-proxy/agent-proxy.mk b/package/agent-proxy/agent-proxy.mk
new file mode 100644
index 0000000000..52b986c0d5
--- /dev/null
+++ b/package/agent-proxy/agent-proxy.mk
@@ -0,0 +1,24 @@
+################################################################################
+#
+# 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 AGENT_PROXY_BUILD_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
+endef
+
+define AGENT_PROXY_INSTALL_STAGING_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/agent-proxy $(STAGING_DIR)/usr/bin
+endef
+
+define AGENT_PROXY_INSTALL_TARGET_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/agent-proxy $(TARGET_DIR)/usr/bin
+endef
+
+$(eval $(generic-package))
-- 
2.36.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package: kdmx
  2022-05-06 16:42 [Buildroot] [PATCH 1/1] package: agent-proxy Rufus Segar
@ 2022-05-06 16:42 ` Rufus Segar
  2022-05-07 16:08   ` Rufus Segar
  0 siblings, 1 reply; 3+ messages in thread
From: Rufus Segar @ 2022-05-06 16:42 UTC (permalink / raw)
  To: buildroot; +Cc: Rufus Segar, Thomas Petazzoni

Signed-off-by: Rufus Segar <rhs@riseup.net>
---
 package/Config.in      |  1 +
 package/kdmx/Config.in | 12 ++++++++++++
 package/kdmx/kdmx.mk   | 24 ++++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 100644 package/kdmx/Config.in
 create mode 100644 package/kdmx/kdmx.mk

diff --git a/package/Config.in b/package/Config.in
index 8892134133..9adaf4c5a2 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -105,6 +105,7 @@ menu "Debugging, profiling and benchmark"
 	source "package/gdb/Config.in"
 	source "package/google-breakpad/Config.in"
 	source "package/iozone/Config.in"
+	source "package/kdmx/Config.in"
 	source "package/kexec/Config.in"
 	source "package/kexec-lite/Config.in"
 	source "package/ktap/Config.in"
diff --git a/package/kdmx/Config.in b/package/kdmx/Config.in
new file mode 100644
index 0000000000..af338e6bda
--- /dev/null
+++ b/package/kdmx/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_KDMX
+	bool "kdmx"
+	help
+	  kdmx is a program designed to split GDB packets and other
+	  trafic coming from a target on a serial line into 2 separate
+	  pseudo-ttys.
+
+	  The most common use of this is to run kgdb and console on a
+	  single serial port, but should be usable for alternating
+	  gdbserver or console over a serial line as well.
+
+	  git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git
diff --git a/package/kdmx/kdmx.mk b/package/kdmx/kdmx.mk
new file mode 100644
index 0000000000..bb04282c0f
--- /dev/null
+++ b/package/kdmx/kdmx.mk
@@ -0,0 +1,24 @@
+################################################################################
+#
+# kdmx
+#
+################################################################################
+
+KDMX_VERSION = agent-proxy-1.97
+KDMX_SITE = git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git
+KDMX_LICENSE = GPL-2.0+
+KDMX_LICENSE_FILES = COPYING
+
+define KDMX_BUILD_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)/kdmx
+endef
+
+define KDMX_INSTALL_STAGING_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/kdmx/kdmx $(STAGING_DIR)/usr/bin
+endef
+
+define KDMX_INSTALL_TARGET_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/kdmx/kdmx $(TARGET_DIR)/usr/bin
+endef
+
+$(eval $(generic-package))
-- 
2.36.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package: kdmx
  2022-05-06 16:42 ` [Buildroot] [PATCH 1/1] package: kdmx Rufus Segar
@ 2022-05-07 16:08   ` Rufus Segar
  0 siblings, 0 replies; 3+ messages in thread
From: Rufus Segar @ 2022-05-07 16:08 UTC (permalink / raw)
  To: buildroot; +Cc: Rufus Segar, Thomas Petazzoni


Hi, I've updated these patches to include building it as a host package,
which is probably more useful in most cases. I've submitted it as a new
patch, so this can be ignored.

Rufus Segar <rhs@riseup.net> writes:

> Signed-off-by: Rufus Segar <rhs@riseup.net>
> ---
>  package/Config.in      |  1 +
>  package/kdmx/Config.in | 12 ++++++++++++
>  package/kdmx/kdmx.mk   | 24 ++++++++++++++++++++++++
>  3 files changed, 37 insertions(+)
>  create mode 100644 package/kdmx/Config.in
>  create mode 100644 package/kdmx/kdmx.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 8892134133..9adaf4c5a2 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -105,6 +105,7 @@ menu "Debugging, profiling and benchmark"
>  	source "package/gdb/Config.in"
>  	source "package/google-breakpad/Config.in"
>  	source "package/iozone/Config.in"
> +	source "package/kdmx/Config.in"
>  	source "package/kexec/Config.in"
>  	source "package/kexec-lite/Config.in"
>  	source "package/ktap/Config.in"
> diff --git a/package/kdmx/Config.in b/package/kdmx/Config.in
> new file mode 100644
> index 0000000000..af338e6bda
> --- /dev/null
> +++ b/package/kdmx/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_KDMX
> +	bool "kdmx"
> +	help
> +	  kdmx is a program designed to split GDB packets and other
> +	  trafic coming from a target on a serial line into 2 separate
> +	  pseudo-ttys.
> +
> +	  The most common use of this is to run kgdb and console on a
> +	  single serial port, but should be usable for alternating
> +	  gdbserver or console over a serial line as well.
> +
> +	  git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git
> diff --git a/package/kdmx/kdmx.mk b/package/kdmx/kdmx.mk
> new file mode 100644
> index 0000000000..bb04282c0f
> --- /dev/null
> +++ b/package/kdmx/kdmx.mk
> @@ -0,0 +1,24 @@
> +################################################################################
> +#
> +# kdmx
> +#
> +################################################################################
> +
> +KDMX_VERSION = agent-proxy-1.97
> +KDMX_SITE = git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git
> +KDMX_LICENSE = GPL-2.0+
> +KDMX_LICENSE_FILES = COPYING
> +
> +define KDMX_BUILD_CMDS
> +	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)/kdmx
> +endef
> +
> +define KDMX_INSTALL_STAGING_CMDS
> +	$(INSTALL) -D -m 0755 $(@D)/kdmx/kdmx $(STAGING_DIR)/usr/bin
> +endef
> +
> +define KDMX_INSTALL_TARGET_CMDS
> +	$(INSTALL) -D -m 0755 $(@D)/kdmx/kdmx $(TARGET_DIR)/usr/bin
> +endef
> +
> +$(eval $(generic-package))


-- 

~Rufus
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-07 16:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 16:42 [Buildroot] [PATCH 1/1] package: agent-proxy Rufus Segar
2022-05-06 16:42 ` [Buildroot] [PATCH 1/1] package: kdmx Rufus Segar
2022-05-07 16:08   ` Rufus Segar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.