summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-03-30 11:49:26 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-03-30 11:49:26 -0500
commite3f2b511a6c07fedb5968071922c28129ae5569f (patch)
tree82ef3da170f1e37f33954514a2c60c12a9fa5b58
parentMake verbose print again for copying files (diff)
downloadrtems-libbsd-e3f2b511a6c07fedb5968071922c28129ae5569f.tar.bz2
Add freebsd/machine/elf.h as empty. Improve message for empty file.
-rwxr-xr-xfreebsd-to-rtems.py4
-rw-r--r--freebsd/machine/elf.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/freebsd-to-rtems.py b/freebsd-to-rtems.py
index 966f04de..bf66b093 100755
--- a/freebsd-to-rtems.py
+++ b/freebsd-to-rtems.py
@@ -197,7 +197,7 @@ def installEmptyFile(src):
out = open(tempFile, 'w')
out.write('/* EMPTY */\n')
out.close()
- processIfDifferent(tempFile, dst, "empty file ", "" )
+ processIfDifferent(tempFile, dst, "empty file ", "empty file" )
# fix include paths inside a C or .h file
def fixIncludes(data):
@@ -423,7 +423,7 @@ class ModuleManager:
out.write(data)
out.close()
makefile = RTEMS_DIR + '/Makefile'
- processIfDifferent(tempFile, makefile, "Makefile ", "")
+ processIfDifferent(tempFile, makefile, "Makefile ", "Makefile")
# Module - logical group of related files we can perform actions on
class Module:
diff --git a/freebsd/machine/elf.h b/freebsd/machine/elf.h
new file mode 100644
index 00000000..936ffd88
--- /dev/null
+++ b/freebsd/machine/elf.h
@@ -0,0 +1 @@
+/* EMPTY */