Carsten Schlote wrote: > From: Carsten Schlote <[email protected]> > > - Removed documentation for obsolete autobuild functionality > - Added help for bash and make comands > - Added list of whitelisted ENV vars > > Signed-off-by: Carsten Schlote <[email protected]> > --- > bin/ptxdist | 20 +++++++++++++++++++- > 1 files changed, 19 insertions(+), 1 deletions(-) > > diff --git a/bin/ptxdist b/bin/ptxdist > index 165028f..377cdb3 100755 > --- a/bin/ptxdist > +++ b/bin/ptxdist > @@ -782,7 +782,6 @@ Build Actions: > install <package> install host side components into sysroot/ > targetinstall <package> install files for target into root/ > clean <package> cleanup package > - autobuild search for "autobuild" scripts and run them
ACK
> drop <package>.<stage> mark a stage of a package as unbuilt
> tags <package> try to build tags for the package
>
> @@ -797,6 +796,10 @@ Clean Actions:
> Misc:
>
> version print out ptxdist version
> + bash <commands> run command within sysroot-host environment
> + useful for calling host cross-tools
^^
> + make <ctarget> call make <target> for ptxdist make tree
> + e.g. ptxdist make ipkg-push
^^
We don't have any space in front of the help text, please remove.
> test <testname> run tests
> newpackage <type> create a new package Makefile in a rules dir
> use 'newpackage help' for a longer description
> @@ -804,6 +807,7 @@ Misc:
> it is known by "make"
> export_src <target dir> export all source archives needed for this
> project to <target dir>
> +
> Overwrite defaults:
>
> --ptxconfig=<config> use specified ptxconfig
> @@ -826,6 +830,20 @@ Options:
> -k keep going. Continue as much as possible
> after an error.
>
> +Whitelisted ENV variables:
> +
> +PTX_AUTOBUILD_DESTDIR Provide a directory for a dist build.
> + Formerly used by autobuild command.
> + (Depricated)
typo: "deprecated"
But it's not deprecated, it's actually used by the toolchain's
"build_all_v2.mk" script.
> +${PTXCONF_SETUP_ENV_WHITELIST} Anything you added to the whitelist.
> + Configured by 'ptxdist setup'
> +CCACHE_.* For ccache configuration.
> + Configured by 'ptxdist setup'
The ccache package is configured by environment variables. See
ccache(1)'s man page. In ptxdist these variables are not removed from
the environment in order to let ccache work as expected. No
configuration is done via ptxdist setup.
> +http_proxy|ftp_proxy Proxy settings for downloads.
> + Configured by 'ptxdist setup'
Just like ccache these variables are not removed from the environment,
so that wget uses the proxy if it is already configured via the user's
environment
> +PWD HOME USER PATH TERM These ENV variables are retained as
> +COLUMNS LINES DISPLAY required minimum for a shell.
I think the whole whitelist paragraph will confuse the user more than it
helps.
> +
> EOF
> }
>
cheers, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
