Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Suggestion for config menu help for path values
Date: Wed, 23 Jun 2010 09:04:29 +0200	[thread overview]
Message-ID: <20100623090429.539f3c0f@surf> (raw)
In-Reply-To: <hvr8t1$io0$1@dough.gmane.org>

On Tue, 22 Jun 2010 21:10:57 +0000 (UTC)
Grant Edwards <grant.b.edwards@gmail.com> wrote:

> Just a suggestion for anytime somebody is working on the config menu
> help for an option that allows a path to be entered: always specify in
> the item's help whether an absolute path is required, and if not,
> where the starting point is for a relative path.
> 
> For several different options, it's taken me many guesses to figure
> out from what working direction a relative path should be referenced.
> When each guess requires a build from-scratch, you can spend hours
> trying to figure out what path value to enter for a particular script
> or config file.
> 
> Right now I'm trying to figure out the CWD when the post-build script
> is called, and I'll submit a help patch when I figure out the answer.

All Buildroot Makefiles are interpreted from the top Buildroot source
directory, as we only use Makefile inclusion and not recursive make.
So, in general, relative paths are interpreted relatively to the top
Buildroot source directory.

> Another source of confusion I've run into a few times are cases where
> the title for a config item doesn't match up with either the config
> variable name or the phrase commonly used elsewhere to refer to that
> item.  For example, it takes a bit if digging to figure out that in
> the config menus, what the documentation calls the "post-build
> script", who's value is "BR2_ROOTFS_POST_BUILD_SCRIPT" is titled
> "Custom script to run before packing files".

Don't hesitate to point us those inconsistencies, and either submit a
patch to fix them or ask us to do so :-)

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  parent reply	other threads:[~2010-06-23  7:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-22 21:10 [Buildroot] Suggestion for config menu help for path values Grant Edwards
2010-06-22 21:31 ` Grant Edwards
2010-06-23  7:04 ` Thomas Petazzoni [this message]
2010-06-23 13:53   ` Grant Edwards

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=20100623090429.539f3c0f@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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