From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A57F9C433EF for ; Sat, 7 May 2022 16:14:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 5220D409D3; Sat, 7 May 2022 16:14:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eTuuNHLT2e_g; Sat, 7 May 2022 16:14:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 06DEF409A3; Sat, 7 May 2022 16:14:29 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id D2BD21BF82D for ; Sat, 7 May 2022 16:14:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id C0A43409A3 for ; Sat, 7 May 2022 16:14:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6NIvLTJP9_1W for ; Sat, 7 May 2022 16:14:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mx0.riseup.net (mx0.riseup.net [198.252.153.6]) by smtp4.osuosl.org (Postfix) with ESMTPS id E729A4099C for ; Sat, 7 May 2022 16:14:26 +0000 (UTC) Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4KwXZB2j9kz9tqQ; Sat, 7 May 2022 09:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1651940066; bh=xugJyTEKklvzVu/xzXu2+7boc4vjtSprMCnq2sTa9fM=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=s9vMPYvmtk3CybgMTv4eiufFnNcK+smCWpko4czm41WRj/7oiqIfkAkjV9Oug1/9m q2uBlKBJ+uTNWNNmuML10lFjUAhknekPqcqi4U5UqY0RCruZGPw/LSAcRiL8BXKXVW Ao3/okVN/jDTpwN3yuyXjXj4uoP+6Ic2xWZuSp7c= X-Riseup-User-ID: 6DF8A3C080078C58C1ACAAD833589A5188F734239628486D732F12FAF689A004 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4KwXZ93GXHz5vsl; Sat, 7 May 2022 09:14:25 -0700 (PDT) References: <20220506164236.1808958-1-rhs@riseup.net> <20220506164236.1808958-2-rhs@riseup.net> From: Rufus Segar To: buildroot@buildroot.org Date: Sat, 07 May 2022 17:08:19 +0100 In-reply-to: <20220506164236.1808958-2-rhs@riseup.net> Message-ID: <87ilqhuxpc.fsf@riseup.net> MIME-Version: 1.0 Subject: Re: [Buildroot] [PATCH 1/1] package: kdmx X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rufus Segar , Thomas Petazzoni Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" 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 writes: > Signed-off-by: Rufus Segar > --- > 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