From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <r.hieber@pengutronix.de>,
Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [ptxdist] [PATCH] doc: user_manual: use |ptxdist{BSP, Platform}Name| where appropriate
Date: Tue, 9 Oct 2018 11:11:55 +0200 [thread overview]
Message-ID: <20181009091154.4373-1-a.fatoum@pengutronix.de> (raw)
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
reply other threads:[~2018-10-09 9:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20181009091154.4373-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=ptxdist@pengutronix.de \
--cc=r.hieber@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