mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>
Subject: Re: [ptxdist] [APPLIED] cp210x-cfg: new package
Date: Mon, 18 May 2026 09:53:29 +0200	[thread overview]
Message-ID: <20260518075329.49857-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20260430154417.15178-1-bruno.thomsen@gmail.com>

Thanks, applied as 133abb60c6251b9c85a4a6b0ce53a04417f669ba.

Michael

[sent from post-receive hook]

On Mon, 18 May 2026 09:53:29 +0200, Bruno Thomsen <bruno.thomsen@gmail.com> wrote:
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> Message-Id: <20260430154417.15178-1-bruno.thomsen@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/cp210x-cfg.in b/rules/cp210x-cfg.in
> new file mode 100644
> index 000000000000..48daa9479c78
> --- /dev/null
> +++ b/rules/cp210x-cfg.in
> @@ -0,0 +1,12 @@
> +## SECTION=shell_and_console
> +
> +config CP210X_CFG
> +	tristate
> +	prompt "cp210x-cfg"
> +	select LIBUSB
> +	help
> +	  CLI utility for programming CP210x (USB->UART bridge)
> +
> +	  Change VID, PID, serial and more during manufacturing.
> +
> +# vim: ft=kconfig tw=80
> diff --git a/rules/cp210x-cfg.make b/rules/cp210x-cfg.make
> new file mode 100644
> index 000000000000..73765bbb832f
> --- /dev/null
> +++ b/rules/cp210x-cfg.make
> @@ -0,0 +1,65 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2026 by Bruno Thomsen <bruno.thomsen@gmail.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_CP210X_CFG) += cp210x-cfg
> +
> +#
> +# Paths and names
> +#
> +CP210X_CFG_VERSION		:= 2017-01-05-g424deb715e629
> +CP210X_CFG_MD5			:= c02ac3df91822f335bac5e0b3beeb446
> +CP210X_CFG			:= cp210x-cfg-$(CP210X_CFG_VERSION)
> +CP210X_CFG_SUFFIX		:= tar.gz
> +CP210X_CFG_URL			:= https://github.com/DiUS/cp210x-cfg/archive/${CP210X_CFG_VERSION}.${CP210X_CFG_SUFFIX}
> +CP210X_CFG_SOURCE		:= $(SRCDIR)/$(CP210X_CFG).$(CP210X_CFG_SUFFIX)
> +CP210X_CFG_DIR			:= $(BUILDDIR)/$(CP210X_CFG)
> +CP210X_CFG_LICENSE		:= BSD-3-Clause
> +CP210X_CFG_LICENSE_FILES	:= \
> +	file://src/main.c;startline=1;endline=32;md5=d8a77d4d4b9f12f02c9c8356e2468e91
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +CP210X_CFG_CONF_TOOL	:= NO
> +CP210X_CFG_MAKE_ENV	:= $(CROSS_ENV)
> +
> +# ----------------------------------------------------------------------------
> +# Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/cp210x-cfg.install:
> +	@$(call targetinfo)
> +	@$(call world/execute, CP210X_CFG, \
> +		install -v -m755 -t $(CP210X_CFG_PKGDIR)/usr/bin \
> +			$(CP210X_CFG_DIR)/cp210x-cfg)
> +	@$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/cp210x-cfg.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, cp210x-cfg)
> +	@$(call install_fixup, cp210x-cfg,PRIORITY,optional)
> +	@$(call install_fixup, cp210x-cfg,SECTION,base)
> +	@$(call install_fixup, cp210x-cfg,AUTHOR,"Bruno Thomsen <bruno.thomsen@gmail.com>")
> +	@$(call install_fixup, cp210x-cfg,DESCRIPTION,missing)
> +
> +	@$(call install_copy, cp210x-cfg, 0, 0, 0750, -, /usr/bin/cp210x-cfg)
> +
> +	@$(call install_finish, cp210x-cfg)
> +
> +	@$(call touch)
> +
> +# vim: ft=make



      reply	other threads:[~2026-05-18  7:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-30 15:44 [ptxdist] [PATCH v2] " Bruno Thomsen
2026-05-18  7:53 ` Michael Olbrich [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=20260518075329.49857-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=bruno.thomsen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /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