Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1] docs/manual/quickstart: Mention sysroot dir.
@ 2019-11-15 12:10 Michael Drake
  2019-11-15 20:23 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Drake @ 2019-11-15 12:10 UTC (permalink / raw)
  To: buildroot

Mention that staging/ is a symlink to the host/$(GNU_TARGET_NAME)/sysroot
directory.
---
 docs/manual/quickstart.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/manual/quickstart.txt b/docs/manual/quickstart.txt
index 74158ae249..d9bbc2527b 100644
--- a/docs/manual/quickstart.txt
+++ b/docs/manual/quickstart.txt
@@ -95,7 +95,8 @@ This directory contains several subdirectories:
   files, unstripped binaries and libraries that make it far too big
   for an embedded system. These development files are used to compile
   libraries and applications for the target that depend on other
-  libraries.
+  libraries. +staging/+ is actually a symlink to the toolchain's target
+  sysroot directory inside +host/+.
 
 * +target/+ which contains 'almost' the complete root filesystem for
   the target: everything needed is present except the device files in
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH v1] docs/manual/quickstart: Mention sysroot dir.
  2019-11-15 12:10 [Buildroot] [PATCH v1] docs/manual/quickstart: Mention sysroot dir Michael Drake
@ 2019-11-15 20:23 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-11-15 20:23 UTC (permalink / raw)
  To: buildroot

Hello Michael,

Thanks for your contribution!

On Fri, 15 Nov 2019 12:10:22 +0000
Michael Drake <michael.drake@codethink.co.uk> wrote:

> Mention that staging/ is a symlink to the host/$(GNU_TARGET_NAME)/sysroot
> directory.

We need your Signed-off-by line here, to be able to apply your patch. However ...

> ---
>  docs/manual/quickstart.txt | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/docs/manual/quickstart.txt b/docs/manual/quickstart.txt
> index 74158ae249..d9bbc2527b 100644
> --- a/docs/manual/quickstart.txt
> +++ b/docs/manual/quickstart.txt
> @@ -95,7 +95,8 @@ This directory contains several subdirectories:
>    files, unstripped binaries and libraries that make it far too big
>    for an embedded system. These development files are used to compile
>    libraries and applications for the target that depend on other
> -  libraries.
> +  libraries. +staging/+ is actually a symlink to the toolchain's target
> +  sysroot directory inside +host/+.

... I think this section needs a much better overhaul. We want to
extend the description of the "host" directory to mention that it
contains both the tools built for the host *and* the sysroot of the
compiler (possibly reusing the wording of the current staging
directory). And this "host" directory should be documented before
"staging".

And then, the description for staging should be simplified to just say
it's a backward compatibility symlink pointing to the target toolchain
sysroot in host/.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-15 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-15 12:10 [Buildroot] [PATCH v1] docs/manual/quickstart: Mention sysroot dir Michael Drake
2019-11-15 20:23 ` Thomas Petazzoni

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