summaryrefslogtreecommitdiff
path: root/third_party/waf/waflib/extras/file_to_object.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/waf/waflib/extras/file_to_object.py')
-rw-r--r--third_party/waf/waflib/extras/file_to_object.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/third_party/waf/waflib/extras/file_to_object.py b/third_party/waf/waflib/extras/file_to_object.py
index c2e8809b3ec..a295998e9e6 100644
--- a/third_party/waf/waflib/extras/file_to_object.py
+++ b/third_party/waf/waflib/extras/file_to_object.py
@@ -1,3 +1,7 @@
+#! /usr/bin/env python
+# encoding: utf-8
+# WARNING! Do not edit! https://waf.io/book/index.html#_obtaining_the_waf_file
+
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Tool to embed file into objects
@@ -39,7 +43,7 @@ def filename_c_escape(x):
class file_to_object_s(Task.Task):
color = 'CYAN'
- dep_vars = ('DEST_CPU', 'DEST_BINFMT')
+ vars = ['DEST_CPU', 'DEST_BINFMT']
def run(self):
name = []
@@ -134,3 +138,4 @@ def tg_file_to_object(self):
def configure(conf):
conf.load('gas')
conf.env.F2O_METHOD = ["c"]
+