From: Rufus Segar <rhs@riseup.net>
To: buildroot@buildroot.org
Cc: Rufus Segar <rhs@riseup.net>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [PATCH 1/1] package: kdmx
Date: Sat, 07 May 2022 17:08:19 +0100 [thread overview]
Message-ID: <87ilqhuxpc.fsf@riseup.net> (raw)
In-Reply-To: <20220506164236.1808958-2-rhs@riseup.net>
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
prev parent reply other threads:[~2022-05-07 16:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ilqhuxpc.fsf@riseup.net \
--to=rhs@riseup.net \
--cc=buildroot@buildroot.org \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox