[LTP] [RFC PATCH 3/3] build.sh: Allow to overwrite prefix

Petr Vorel pvorel@suse.cz
Thu Dec 14 20:19:42 CET 2017


Hi!

> > Maybe I should have used getopts short option with values, even I don't like short values:

> > ./build.sh [ -t 32|cross|out ] [ -p PREFIX_DIR ] [ -c CC ]

> This does not seem that bad to me.

> I would like to avoid passing half of the parameters via argv and half
> via env variables if possible.
Right. I rewrote the script and clean it a bit (see master). Everything now uses
getopts (shell built-in).
IMHO script is now suitable for local development as well.

I also added that 2 ARM cross-compile builds.

Kind regards,
Petr


More information about the ltp mailing list