summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Hieber <r.hieber@pengutronix.de>2018-10-09 12:52:08 +0200
committerRoland Hieber <r.hieber@pengutronix.de>2018-10-09 12:52:08 +0200
commit140a1b1f4d9d0967540b6602a23ff1b6f1399293 (patch)
tree755edd9527f3ae18370e3fcae73f545b3b1b0255
parentd1e76fd4775b25ffe9541a83c34d02659bac7de8 (diff)
downloadptxdist-140a1b1f4d9d0967540b6602a23ff1b6f1399293.tar.gz
ptxdist-140a1b1f4d9d0967540b6602a23ff1b6f1399293.tar.xz
WIP: use DistroKit? doc: conf: platform name: replace "versatilepb" with something generic
platform-pengutronix-versatilepb comes from different time, it has not been touched in several years. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
-rw-r--r--doc/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 4a47d8159..4acf2c801 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -106,7 +106,7 @@ 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")
+ptxdistPlatformDir = "platform-" + os.getenv("PTXCONF_PLATFORM", "<name>")
oselasTCNarch = gnu_target.split("-")[0]
oselasTCNvariant = gnu_target.split("-")[1]
oselasTCNVendorVersion = toolchain[-4].split("-")[1]
@@ -118,7 +118,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 ptxdistPlatformDir
ptxdistPlatformCollection = "\ "
ptxdistVendorVersion = os.getenv("PTXDIST_VERSION_YEAR") + "." + os.getenv("PTXDIST_VERSION_MONTH") + "." + os.getenv("PTXDIST_VERSION_BUGFIX")
package = "<package>"