summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wafsamba.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-12-18 16:27:14 +1300
committerAndrew Bartlett <abartlet@samba.org>2018-12-21 22:16:09 +0100
commitb99b51400c3e3e40b848d57d01f67b8d72d772b5 (patch)
tree4c86914d9f26d0ac03beaf1b2cc40234f9fa3045 /buildtools/wafsamba/wafsamba.py
parent22f1c4005caae5c5a376fd180be98b1be0db2afc (diff)
downloadsamba-b99b51400c3e3e40b848d57d01f67b8d72d772b5.tar.gz
build: Remove --timestamp-dependencies (BROKEN)
Remove this code marked as broken, we do not need broken configure options making Samba appear to be more complex than it already is. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r--buildtools/wafsamba/wafsamba.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 230a76d8f2c..a077026c690 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -721,22 +721,6 @@ Build.BuildContext.SET_BUILD_GROUP = SET_BUILD_GROUP
-@conf
-def ENABLE_TIMESTAMP_DEPENDENCIES(conf):
- """use timestamps instead of file contents for deps
- this currently doesn't work"""
- def h_file(filename):
- import stat
- st = os.stat(filename)
- if stat.S_ISDIR(st[stat.ST_MODE]): raise IOError('not a file')
- m = Utils.md5()
- m.update(str(st.st_mtime))
- m.update(str(st.st_size))
- m.update(filename)
- return m.digest()
- Utils.h_file = h_file
-
-
def SAMBA_SCRIPT(bld, name, pattern, installdir, installname=None):
'''used to copy scripts from the source tree into the build directory
for use by selftest'''