From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 18 May 2026 09:54:10 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wOsni-0013Gg-0H for lore@lore.pengutronix.de; Mon, 18 May 2026 09:54:10 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wOsnh-0003yt-JL; Mon, 18 May 2026 09:54:09 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wOsn3-0002Fy-TE; Mon, 18 May 2026 09:53:29 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wOsn3-000YQF-0u; Mon, 18 May 2026 09:53:29 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1wOsn3-00000000CyK-3KQX; Mon, 18 May 2026 09:53:29 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 18 May 2026 09:53:29 +0200 Message-ID: <20260518075329.49857-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260430154417.15178-1-bruno.thomsen@gmail.com> References: <20260430154417.15178-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] cp210x-cfg: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Bruno Thomsen Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 133abb60c6251b9c85a4a6b0ce53a04417f669ba. Michael [sent from post-receive hook] On Mon, 18 May 2026 09:53:29 +0200, Bruno Thomsen wrote: > Signed-off-by: Bruno Thomsen > Message-Id: <20260430154417.15178-1-bruno.thomsen@gmail.com> > Signed-off-by: Michael Olbrich > > 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 > +# > +# 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 ") > + @$(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