summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorSteven Chamberlain <steven@pyro.eu.org>2013-10-29 13:35:33 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-10-30 15:00:40 -0500
commit0853c110e5e2ce285c9edb701b6029c0999e35b3 (patch)
treee18cfea0a0f40ef112eb7df6bc83f717877f7db3 /mk
parent1a43ce11d08c00ad8b1796acb975ec9cd71eab86 (diff)
This is just a minimal port to get Debian up and running; the rest will be done later.
Diffstat (limited to 'mk')
-rw-r--r--mk/os-GNU-kFreeBSD.mk9
-rw-r--r--mk/os.mk2
2 files changed, 10 insertions, 1 deletions
diff --git a/mk/os-GNU-kFreeBSD.mk b/mk/os-GNU-kFreeBSD.mk
new file mode 100644
index 00000000..72fea3e1
--- /dev/null
+++ b/mk/os-GNU-kFreeBSD.mk
@@ -0,0 +1,9 @@
+# Copyright (c) 2008 Roy Marples <roy@marples.name>
+# Released under the 2-clause BSD license.
+
+# Generic definitions
+
+CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+LIBDL= -Wl,-Bdynamic -ldl
+LIBKVM?=
+include ${MK}/os-BSD.mk
diff --git a/mk/os.mk b/mk/os.mk
index 3e189625..6b2d428f 100644
--- a/mk/os.mk
+++ b/mk/os.mk
@@ -3,7 +3,7 @@
# Generic definitions
-_OS_SH= uname -s
+_OS_SH= uname -s | tr '/' '-'
_OS:= $(shell ${_OS_SH})
OS?= ${_OS}
include ${MK}/os-${OS}.mk