poky/scripts/lib
Paul Eggleton 89a7ed5b67 devtool: add configure-help subcommand
When you need to set EXTRA_OECONF for a recipe, you need to know what
options the configure script actually supports; the configure script
however is only accessible from within a devshell and (at least in the
case of autotooled software fetched from an SCM repository) may not
actually exist until do_configure has run. Thus, provide a "devtool
configure-help" subcommand that runs the configure script for a recipe
with --help and shows you the output through a pager (e.g. less),
prefaced by a header describing the current options being specified.

There is basic support for autotools, cmake and bare configure scripts.
The cmake support is a little hacky since cmake doesn't really have a
concise help option that lists user-defined knobs (without actually
running through the configure process), however that being a design
feature of cmake there's not much I can think of to do about that at
the moment.

(From OE-Core rev: 0e5d84d9705091b338000ef02720cfa090f76888)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-26 18:05:14 +00:00
..
bsp yocto-bsp: remove 3.14 and 3.19 bbappends 2016-01-07 13:52:21 +00:00
devtool devtool: add configure-help subcommand 2016-01-26 18:05:14 +00:00
recipetool recipetool: create: better fix for fetch error handling 2016-01-24 09:40:33 +00:00
wic wic: pylinted ksparser module 2016-01-20 17:07:14 +00:00
argparse_oe.py devtool: add: allow specifying URL as positional argument 2015-12-28 09:25:14 +00:00
scriptpath.py scripts: consolidate code to find bitbake path 2014-06-25 13:51:45 +01:00
scriptutils.py recipetool: create: prevent attempting to unpack entire DL_DIR 2015-12-28 09:25:13 +00:00