[PATCH 2/3] builder.py: Add case for plain text files.
Christian Mauderer
christian.mauderer at embedded-brains.de
Fri Mar 29 07:17:35 UTC 2019
---
builder.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/builder.py b/builder.py
index 1679b6cb..2921bab8 100755
--- a/builder.py
+++ b/builder.py
@@ -202,6 +202,9 @@ def revertFixLocalIncludes(data):
data = re.sub('#include <rtems/bsd/local/([^>]*)>', '#include "\\1"', data)
return data
+def assertNothing(path):
+ pass
+
def assertHeaderFile(path):
if path[-2] != '.' or path[-1] != 'h':
print("*** " + path + " does not end in .h")
@@ -667,6 +670,11 @@ class Module(object):
reverseConverter, buildSystemComposer)]
return files
+ def addPlainTextFile(self, files):
+ self.files += self.addFiles(files,
+ FreeBSDPathComposer(), Converter(),
+ Converter(), assertNothing)
+
def addKernelSpaceHeaderFiles(self, files):
self.files += self.addFiles(files,
FreeBSDPathComposer(), FromFreeBSDToRTEMSHeaderConverter(),
--
2.13.7
More information about the devel
mailing list