]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: BBHandler: Fix addtask and deltask
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 29 Apr 2019 08:11:58 +0000 (16:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Apr 2019 11:05:24 +0000 (12:05 +0100)
commit82300691b045729dd35aec6878b4c199bea835fc
tree94b280709baacb840578e986cfd1e826e7749493
parent1165edbe508239d4fd21b49d7d52c7f4734ada5a
bitbake: BBHandler: Fix addtask and deltask

The following commands are not supported, but they were ignored silently, that
may suprise users:

* addtask task1 task2
  task2 is ignored

* addtask task1 before task2 before task3
  Should be: addtask task1 before task2 task3

* addtask task1 after task2 after task3
  Should be: addtask task1 after task2 task3

* deltask task1 task2
  task2 is ignore

This patch can check and warn for them.

[YOCTO #13282]

(Bitbake rev: 675689aa7cc7287efecf8ef775ca2059369167f1)

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