]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: build.py: check dependendent task for addtask
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 29 Apr 2019 08:11:59 +0000 (16:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Apr 2019 11:05:24 +0000 (12:05 +0100)
commite236735d4520fc25a615ed92097fb04ed19f85ba
tree02b40478d5fbe590f568150f13dcc1f87d8b1643
parent82300691b045729dd35aec6878b4c199bea835fc
bitbake: build.py: check dependendent task for addtask

The following command is incorrect, but was ignored silently, that may suprise
users:

addtask task after task_not_existed

This patch can check and warn for it. It would be better to also check "before"
tasks, but there is no easier way to do it.

[YOCTO #13282]

(Bitbake rev: b1ad36169c2ad189d84c53c707b66c12d5ff812f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/build.py