* [ptxdist] [PATCH] doc: user_manual: use |ptxdist{BSP, Platform}Name| where appropriate
@ 2018-10-09 9:11 Ahmad Fatoum
0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2018-10-09 9:11 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber, Ahmad Fatoum
Suggested-by: Roland Hieber <r.hieber@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
doc/conf.py | 4 +++-
doc/user_manual.inc | 7 ++++---
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/doc/conf.py b/doc/conf.py
index 4a47d8159068..1424c4511132 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -106,7 +106,8 @@ try:
except:
toolchain = "/opt/OSELAS.Toolchain-2016.06.1/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/bin".split("/")
-ptxdistPlatformDir = "platform-" + os.getenv("PTXCONF_PLATFORM", "versatilepb")
+ptxdistPlatformName = os.getenv("PTXCONF_PLATFORM", "versatilepb")
+ptxdistPlatformDir = "platform-" + ptxdistPlatformName
oselasTCNarch = gnu_target.split("-")[0]
oselasTCNvariant = gnu_target.split("-")[1]
oselasTCNVendorVersion = toolchain[-4].split("-")[1]
@@ -130,6 +131,7 @@ except:
pass
replace_dict = {
+ b"|ptxdistPlatformName|": ptxdistPlatformName,
b"|ptxdistPlatformDir|": ptxdistPlatformDir,
b"|oselasTCNarch|": oselasTCNarch,
b"|oselasTCNvariant|": oselasTCNvariant,
diff --git a/doc/user_manual.inc b/doc/user_manual.inc
index e41995782149..9f78f5b46c18 100644
--- a/doc/user_manual.inc
+++ b/doc/user_manual.inc
@@ -316,8 +316,8 @@ Selecting a Userland Configuration
First of all we have to select a userland configuration. This step
defines what kind of applications will be built for the hardware
-platform. The comes with a predefined configuration we select in the
-following step:
+platform. The |ptxdistBSPName| project comes
+with a predefined configuration we select in the following step:
::
@@ -329,7 +329,8 @@ Selecting a Hardware Platform
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Before we can build this BSP, we need to select one of the possible
-platforms to build for. In this case we want to build for the :
+platforms to build for. In this case we want to build for the
+|ptxdistPlatformName|:
::
--
2.19.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-09 9:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-09 9:11 [ptxdist] [PATCH] doc: user_manual: use |ptxdist{BSP, Platform}Name| where appropriate Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox