summaryrefslogtreecommitdiff
path: root/common/os.Linux.mk
diff options
context:
space:
mode:
authorKai Wang <kaiw@FreeBSD.org>2014-01-15 08:43:20 +0000
committerKai Wang <kaiw@FreeBSD.org>2014-01-15 08:43:20 +0000
commit5265ace0e440a23fb522c516f4ee20f43eaed2b3 (patch)
tree13068447bb61372f7540b168e913b8eb88ef7578 /common/os.Linux.mk
Notes
Diffstat (limited to 'common/os.Linux.mk')
-rw-r--r--common/os.Linux.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/common/os.Linux.mk b/common/os.Linux.mk
new file mode 100644
index 000000000000..2339e2a14ff0
--- /dev/null
+++ b/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