summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_utils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index 789720f0ea..03325e08db 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -407,3 +407,8 @@ def IS_NEWER(bld, file1, file2):
return t1 > t2
Build.BuildContext.IS_NEWER = IS_NEWER
+
+def TOUCH_FILE(file):
+ '''touch a file'''
+ f = open(file, 'w')
+ f.close()