From 766d71c2d32d2c57969d161f4d96f15706b8ed3a Mon Sep 17 00:00:00 2001 From: Steven Chamberlain Date: Tue, 29 Oct 2013 13:35:33 -0500 Subject: Begin port to GNU/kFreeBSD This is just a minimal port to get Debian up and running; the rest will be done later. --- mk/os-GNU-kFreeBSD.mk | 9 +++++++++ mk/os.mk | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 mk/os-GNU-kFreeBSD.mk (limited to 'mk') 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 +# 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 -- cgit v1.2.3