OpenXT / openxt

Base OpenXT build scripts
48 stars 39 forks source link

STABLE-9: do_build.sh improvements #349

Closed jandryuk closed 5 years ago

jandryuk commented 5 years ago

This is the Stable-9 version of https://github.com/OpenXT/openxt/pull/342

Drop sysroot from the script. It's unneeded and unused as far as I can tell. I usually drop syncui,source,sdk,license,sourceinfo as well, but I've left those.

Re-order sourcing the .config file before parsing the command line options. This way you can set your common variables in .config and override on the command line. The current way does not allow command line overriding. For instance, you can set your default STEPS in .config, but then run just ./do_build.sh -s ndvm,ship to do a quicker partial re-build.

Third, print the date when finished. I find this useful when I have multiple windows open to know when a build last finished.