summaryrefslogtreecommitdiffstats
path: root/libclc/build/metabuild.py
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-10-23 02:49:33 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-10-23 02:49:33 +0000
commit9fabcb3edbc697c4672803039581a72f688b8275 (patch)
treed3e5371e16a9d9caa3ed55df4bb220e60ad60cd7 /libclc/build/metabuild.py
parent9f48bb3b9a41bc09636c6ab1e48cf06f0e1a5f74 (diff)
downloadbcm5719-llvm-9fabcb3edbc697c4672803039581a72f688b8275.tar.gz
bcm5719-llvm-9fabcb3edbc697c4672803039581a72f688b8275.zip
Clean-up dependency files
Patch by: Jeroen Ketema llvm-svn: 193221
Diffstat (limited to 'libclc/build/metabuild.py')
-rw-r--r--libclc/build/metabuild.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/libclc/build/metabuild.py b/libclc/build/metabuild.py
index c675e093c5d..4ab5db58e06 100644
--- a/libclc/build/metabuild.py
+++ b/libclc/build/metabuild.py
@@ -61,8 +61,13 @@ endif
self.all_targets.append(output)
if r['generator']:
self.distclean_files.append(output)
+ if r['depfile']:
+ self.distclean_files.append(depfile)
else:
self.clean_files.append(output)
+ if r['depfile']:
+ self.distclean_files.append(depfile)
+
def _as_list(self, input):
if isinstance(input, list):
OpenPOWER on IntegriCloud