summaryrefslogtreecommitdiff
path: root/linkers/elftoolchain/common/os.Linux.mk
diff options
context:
space:
mode:
Diffstat (limited to 'linkers/elftoolchain/common/os.Linux.mk')
-rw-r--r--linkers/elftoolchain/common/os.Linux.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/linkers/elftoolchain/common/os.Linux.mk b/linkers/elftoolchain/common/os.Linux.mk
new file mode 100644
index 0000000..2339e2a
--- /dev/null
+++ b/linkers/elftoolchain/common/os.Linux.mk
@@ -0,0 +1,13 @@
+#
+# Build recipes for Linux based operating systems.
+#
+# $Id: os.Linux.mk 2064 2011-10-26 15:12:32Z jkoshy $
+
+_NATIVE_ELF_FORMAT = native-elf-format
+
+.BEGIN: ${_NATIVE_ELF_FORMAT}.h
+
+${_NATIVE_ELF_FORMAT}.h:
+ ${.CURDIR}/${_NATIVE_ELF_FORMAT} > ${.TARGET} || rm ${.TARGET}
+
+CLEANFILES += ${_NATIVE_ELF_FORMAT}.h