mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] platform: make clear that libc version is not only used for checking
@ 2019-08-29 11:03 Roland Hieber
  0 siblings, 0 replies; only message in thread
From: Roland Hieber @ 2019-08-29 11:03 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

With the old wording it reads like the version can be left empty.
However, if the libc should be installed to the target (e.g. by
selecting anything in the GLIBC or UCLIBC section), this version must be
set, or the respective targetinstall stage will error:

    ---------------------------
    target: glibc.targetinstall
    ---------------------------

    ptxdist: error: ptxd_make_xpkg_init: please define <PKG>_VERSION

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 platforms/toolchain.in | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/platforms/toolchain.in b/platforms/toolchain.in
index 2cf2009ec411..c219fe29de25 100644
--- a/platforms/toolchain.in
+++ b/platforms/toolchain.in
@@ -46,23 +46,25 @@ endchoice
 if LIBC_GLIBC
 config GLIBC_VERSION
 	string
-	prompt "check for specific glibc version"
+	prompt "glibc version"
 	default "2.23"
 	help
 	  Specify the glibc version this BSP shall be built with. This information
-          is used to guess the toolchain path if you use "ptxdist toolchain"
-	  without an argument.
+	  is used to guess the toolchain path if you use "ptxdist toolchain"
+	  without an argument, and to install the glibc into the target file
+	  system.
 endif
 
 if LIBC_UCLIBC
 config UCLIBC_VERSION
 	string
-	prompt "check for specific uClibc version"
+	prompt "uClibc version"
 	default "0.9.33.2"
 	help
 	  Specify the uClibc version this BSP shall be built with. This information
-          is used to guess the toolchain path if you use "ptxdist toolchain"
-	  without an argument.
+	  is used to guess the toolchain path if you use "ptxdist toolchain"
+	  without an argument. and to install the uClibc into the target file
+	  system.
 endif
 
 config GNU_TARGET
-- 
2.23.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-29 11:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-29 11:03 [ptxdist] [PATCH] platform: make clear that libc version is not only used for checking Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox