From 87f413f61715f9a4e11614655b0a42f7725a3e5e Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Tue, 27 Aug 2013 16:27:41 -0700 Subject: [PATCH] bitbake: data_smart: allow removal of multiple words at once with _remove FOO = "foo bar baz" FOO_remove = "foo baz" (Bitbake rev: 04127dec207d6dfc0ada56c5cc67ec9ad30517a8) Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/data_smart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py index 6229fbf693..d32501821d 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py @@ -418,7 +418,7 @@ class DataSmart(MutableMapping): self.setVar(append, sval) elif op == "_remove": removes = self.getVarFlag(append, "_removeactive", False) or [] - removes.append(a) + removes.extend(a.split()) self.setVarFlag(append, "_removeactive", removes, ignore=True) # We save overrides that may be applied at some later stage