]> code.ossystems Code Review - openembedded-core.git/commit
build.py: add clean option to 'devtool build' command
authorChen Qi <Qi.Chen@windriver.com>
Thu, 6 Sep 2018 06:56:15 +0000 (14:56 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Sep 2018 22:43:34 +0000 (23:43 +0100)
commit29d790cdeff19e520a35ec5902d6deaae8665492
tree6b4a98516c1fe6f25a85e1a05c067e11ec63a368
parent23393330a599403085437cb62169bb3a2375c07a
build.py: add clean option to 'devtool build' command

Add -c (--clean) optiont to 'devtool build' command so that users
could easily clean things up when using devtool.

I encountered a problem about do_prepare_recipe_sysroot failure
when using `devtool build' command and I found myself in a situation
where I either have to use `bitbake' command to clean things up or
use `rm' to remove the directories under ${WORKDIR}.

So add a clean option as it would be helpful when users want to clean
things up to prepare an environment for a clean build.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/build.py