summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_utils.py13
-rw-r--r--buildtools/wafsamba/wafsamba.py2
2 files changed, 1 insertions, 14 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index fc23aa4f64..8a8a7e3975 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -409,19 +409,6 @@ def IS_NEWER(bld, file1, file2):
Build.BuildContext.IS_NEWER = IS_NEWER
-def TOUCH_FILE(file, install_dir=False):
- '''touch a file'''
- if install_dir:
- if file[0] == '/':
- file = Options.options.destdir + file
- else:
- file = Options.options.destdir + '/' + file
- mkdir_p(os.path.dirname(file))
- f = open(file, 'w')
- f.close()
-
-
-
@conf
def RECURSE(ctx, directory):
'''recurse into a directory, relative to the curdir or top level'''
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 55dfe26b0a..a28f1ebb79 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -411,7 +411,7 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
Build.BuildContext.SAMBA_SUBSYSTEM = SAMBA_SUBSYSTEM
-def SAMBA_GENERATOR(bld, name, rule, source, target,
+def SAMBA_GENERATOR(bld, name, rule, source='', target='',
group='generators', enabled=True,
public_headers=None,
header_path=None,