summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py4
-rw-r--r--doc/dev_manual.rst4
-rw-r--r--doc/user_manual.inc4
3 files changed, 6 insertions, 6 deletions
diff --git a/doc/conf.py b/doc/conf.py
index fe3530549..1fa5bbb62 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -115,7 +115,7 @@ oselasToolchainName = toolchain[-3] + "_" + re.sub(r"-([a-z])",r"_\1", toolchain
ptxdistBSPName = "OSELAS.BSP-" + os.getenv("PTXCONF_PROJECT_VENDOR", "Pengutronix") + "-" + os.getenv("PTXCONF_PROJECT", "Example") + os.getenv("PTXCONF_PROJECT_VERSION", "")
ptxdistCompilerName = gnu_target
ptxdistCompilerVersion = toolchain[-2]
-ptxdistPlatformName = "platform-" + os.getenv("PTXCONF_PLATFORM", "versatilepb")
+ptxdistPlatformConfigDir = os.path.basename(os.getenv("PTXDIST_PLATFORMCONFIGDIR")) if os.getenv("PTXDIST_PLATFORMCONFIGDIR") != os.getenv("PTXDIST_TOPDIR") else "platform-versatilepb"
ptxdistPlatformCollection = "\ "
ptxdistVendorVersion = os.getenv("PTXDIST_VERSION_YEAR") + "." + os.getenv("PTXDIST_VERSION_MONTH") + "." + os.getenv("PTXDIST_VERSION_BUGFIX")
package = "<package>"
@@ -136,7 +136,7 @@ replace_dict = {
b"|ptxdistBSPName|": ptxdistBSPName,
b"|ptxdistCompilerName|": ptxdistCompilerName,
b"|ptxdistCompilerVersion|": ptxdistCompilerVersion,
- b"|ptxdistPlatformName|": ptxdistPlatformName,
+ b"|ptxdistPlatformConfigDir|": ptxdistPlatformConfigDir,
b"|ptxdistPlatformCollection|": ptxdistPlatformCollection,
b"|ptxdistVendorVersion|": ptxdistVendorVersion,
b"|package|": package
diff --git a/doc/dev_manual.rst b/doc/dev_manual.rst
index 70099b266..4bd22be1b 100644
--- a/doc/dev_manual.rst
+++ b/doc/dev_manual.rst
@@ -67,7 +67,7 @@ package in question.
One location is the project’s currently used platform directory. If the
currently used platform is located in ``configs/``, PTXdist searches in
-./configs/|ptxdistPlatformName|/patches/<package name>
+./configs/|ptxdistPlatformConfigDir|/patches/<package name>
If no patch series was found in the platform directory, the next
location PTXdist it searches for a patch series is the main project
@@ -1098,7 +1098,7 @@ for patches in:
#. project (``./patches/foo-1.1.0``)
-#. platform (``./configs/|ptxdistPlatformName|/patches/foo-1.1.0``)
+#. platform (``./configs/|ptxdistPlatformConfigDir|/patches/foo-1.1.0``)
#. ptxdist (``<ptxdist/installation/path>/patches/foo-1.1.0``)
diff --git a/doc/user_manual.inc b/doc/user_manual.inc
index d5f5dca18..612c3183e 100644
--- a/doc/user_manual.inc
+++ b/doc/user_manual.inc
@@ -332,9 +332,9 @@ platforms to build for. In this case we want to build for the :
::
- $ ptxdist platform configs/|ptxdistPlatformName|/platformconfig
+ $ ptxdist platform configs/|ptxdistPlatformConfigDir|/platformconfig
info: selected platformconfig:
- 'configs/|ptxdistPlatformName|/platformconfig'
+ 'configs/|ptxdistPlatformConfigDir|/platformconfig'
.. note:: If you have installed the OSELAS.Toolchain() at its default
location, PTXdist should already have detected the proper toolchain