summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/data_smart.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index b7ccab767e..7755f1afd8 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -540,14 +540,12 @@ class DataSmart(MutableMapping):
540 def appendVar(self, var, value, **loginfo): 540 def appendVar(self, var, value, **loginfo):
541 loginfo['op'] = 'append' 541 loginfo['op'] = 'append'
542 self.varhistory.record(**loginfo) 542 self.varhistory.record(**loginfo)
543 newvalue = (self.getVar(var, False) or "") + value 543 self.setVar(var + "_append", value, ignore=True, parsing=True)
544 self.setVar(var, newvalue, ignore=True)
545 544
546 def prependVar(self, var, value, **loginfo): 545 def prependVar(self, var, value, **loginfo):
547 loginfo['op'] = 'prepend' 546 loginfo['op'] = 'prepend'
548 self.varhistory.record(**loginfo) 547 self.varhistory.record(**loginfo)
549 newvalue = value + (self.getVar(var, False) or "") 548 self.setVar(var + "_prepend", value, ignore=True, parsing=True)
550 self.setVar(var, newvalue, ignore=True)
551 549
552 def delVar(self, var, **loginfo): 550 def delVar(self, var, **loginfo):
553 loginfo['detail'] = "" 551 loginfo['detail'] = ""