From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 12 Sep 2024 14:12:56 +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 1soigy-003mnA-23 for lore@lore.pengutronix.de; Thu, 12 Sep 2024 14:12:56 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1soigx-0003mh-PA; Thu, 12 Sep 2024 14:12:55 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1soifj-0001Pl-5Z; Thu, 12 Sep 2024 14:11:39 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1soifi-007NQU-PH; Thu, 12 Sep 2024 14:11:38 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1soifi-00BGcl-2O; Thu, 12 Sep 2024 14:11:38 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 12 Sep 2024 14:11:38 +0200 Message-Id: <20240912121138.2685504-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240808094035.1636229-3-rhi@pengutronix.de> References: <20240808094035.1636229-3-rhi@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] doc: conf.py: replace 'versatilepb' with example placeholder 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: Roland Hieber 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 8c01cc58de694e420d21949c74bc2eecc14b5828. Michael [sent from post-receive hook] On Thu, 12 Sep 2024 14:11:38 +0200, Roland Hieber wrote: > The platform is the last placeholder referring to a specific name, which > regularly seems to confuse people that are new to PTXdist. Replace it by > a more expressive placeholder marking its example status, unless a more > specific platform name can be used from PTXCONF_PLATFORM. > > Signed-off-by: Roland Hieber > Message-Id: <20240808094035.1636229-3-rhi@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/doc/conf.py b/doc/conf.py > index 49d19965f8e8..b1a6fe3293b6 100644 > --- a/doc/conf.py > +++ b/doc/conf.py > @@ -114,7 +114,7 @@ try: > except: > toolchain = "/opt/OSELAS.Toolchain-2022.10.0/arm-v7a-linux-gnueabihf/gcc-12.2.1-clang-15.0.2-glibc-2.36-binutils-2.39-kernel-6.0.5-sanitized/bin".split("/") > > -ptxdistPlatformName = os.getenv("PTXCONF_PLATFORM", "versatilepb") > +ptxdistPlatformName = os.getenv("PTXCONF_PLATFORM", "example") > ptxdistPlatformDir = "platform-" + ptxdistPlatformName > oselasTCNarch = gnu_target.split("-")[0] > oselasTCNvariant = gnu_target.split("-")[1] > @@ -127,7 +127,7 @@ ptxdistBSPName = "OSELAS.BSP-" + ptxdistHwVendor + "-" + ptxdistHwProduct + os.g > ptxdistBSPRevision = os.getenv("PTXDIST_BSP_AUTOVERSION", "???") > ptxdistCompilerName = gnu_target > ptxdistCompilerVersion = toolchain[-2] > -ptxdistPlatformConfigDir = os.path.basename(os.getenv("PTXDIST_PLATFORMCONFIGDIR")) if os.getenv("PTXDIST_PLATFORMCONFIGDIR") != os.getenv("PTXDIST_TOPDIR") else "platform-versatilepb" > +ptxdistPlatformConfigDir = os.path.basename(os.getenv("PTXDIST_PLATFORMCONFIGDIR")) if os.getenv("PTXDIST_PLATFORMCONFIGDIR") != os.getenv("PTXDIST_TOPDIR") else "platform-" > ptxdistPlatformCollection = "\ " > ptxdistVendorVersion = os.getenv("PTXDIST_VERSION_YEAR") + "." + os.getenv("PTXDIST_VERSION_MONTH") + "." + os.getenv("PTXDIST_VERSION_BUGFIX") > package = ""