bitbake: bitbake: data_smart: split expanded removal values when handling _remove
authorRoss Burton <ross.burton@intel.com>
Mon, 2 Feb 2015 15:09:25 +0000 (15:09 +0000)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 26 Jul 2015 13:13:57 +0000 (10:13 -0300)
commit080d822551075b6579cf2dd611b78c9993d35309
tree36fb6455785b981303e47bdf38f17a1389e18a47
parent95f63627373dbe8864864f380820af1cdccb9e9a
bitbake: bitbake: data_smart: split expanded removal values when handling _remove

Given these assignments:

 TEST="a b c d"
 TEST_remove = "b d"

TEST evaluates to "a c".  However, if the _remove override is given as a
variable:

 TEST="a b c d"
 FOO = "b d"
 TEST_remove = "${FOO}

TEST evaluates to "a b c d", because when FOO is expanded it isn't split into a
list.

Solve this by splitting all members of removeactive once they've been expanded.

[ YOCTO #7272 ]

(Bitbake rev: 207013b6dde82f9654f9be996695c8335b95a288)

(Bitbake rev: c25b0e0ca289f6ad0ed697a0b0252fa48ab5dd0b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
bitbake/lib/bb/data_smart.py