[rtems-libbsd commit] builder.py: Fix addition of plain text files
Sebastian Huber
sebh at rtems.org
Wed Feb 23 14:15:18 UTC 2022
Module: rtems-libbsd
Branch: 6-freebsd-12
Commit: a8c55b62bbf233c964266ec1641e0098d957fdfc
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=a8c55b62bbf233c964266ec1641e0098d957fdfc
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Feb 16 15:27:41 2022 +0100
builder.py: Fix addition of plain text files
---
builder.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/builder.py b/builder.py
index c332032..b43eb61 100755
--- a/builder.py
+++ b/builder.py
@@ -221,6 +221,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")
@@ -880,7 +883,7 @@ class Module(object):
]
return files
- def addPlainTextFile(self, files):
+ def addPlainTextFiles(self, files):
self.files += self.addFiles('user', files,
FreeBSDPathComposer(), Converter(),
Converter(), assertNothing)
More information about the vc
mailing list