summaryrefslogtreecommitdiffstats
path: root/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r--lib/bb/command.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py
index 21a6de0f6..3ca27a69e 100644
--- a/lib/bb/command.py
+++ b/lib/bb/command.py
@@ -241,6 +241,13 @@ class CommandsSync:
op = params[3]
command.cooker.modifyConfigurationVar(var, val, default_file, op)
+ def removeVarFile(self, command, params):
+ """
+ Remove a variable declaration from a file
+ """
+ var = params[0]
+ command.cooker.removeConfigurationVar(var)
+
def createConfigFile(self, command, params):
"""
Create an extra configuration file