Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Nov 5, 2014 Kbuild

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit d904145c8b93f35e8a71d12d29a96a11f96f75e1:

Merge branch 'master' of ssh://git.kernel.dk/data/git/fio (2014-10-30 17:16:32 -0600)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 239b2882f467676b232e9e20b72c287b77bd3daa:

Add basic DragonFly support (2014-11-04 19:53:04 -0700)

----------------------------------------------------------------
Jens Axboe (1):
Add basic DragonFly support

 Makefile          |    4 ++++
 libfio.c          |    1 +
 os/os-dragonfly.h |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 os/os.h           |    3 +++
 4 files changed, 69 insertions(+)
 create mode 100644 os/os-dragonfly.h

---

Diff of recent changes:

Makefile +4 -0
index 55a93fc..8a28f62 100644
@@ -136,6 +136,10 @@ ifeq ($(CONFIG_TARGET_OS), NetBSD)
   LIBS	 += -lpthread -lrt
   LDFLAGS += -rdynamic
 endif
+ifeq ($(CONFIG_TARGET_OS), DragonFly)
+  LIBS	 += -lpthread -lrt
+  LDFLAGS += -rdynamic
+endif
 ifeq ($(CONFIG_TARGET_OS), AIX)
   LIBS	 += -lpthread -ldl -lrt
   CPPFLAGS += -D_LARGE_FILES -D__ppc__
libfio.c +1 -0
index 1abf39a..57ce725 100644
@@ -58,6 +58,7 @@ static const char *fio_os_strings[os_nr] = {
 	"Solaris",
 	"Windows",
 	"Android",
+	"DragonFly",
 };
 
 static const char *fio_arch_strings[arch_nr] = {
os/os-dragonfly.h new file +61 -0

61 lines not on this page · raw message

os/os.h +3 -0
index df706ab..7cb8121 100644
@@ -21,6 +21,7 @@ enum {
 	os_solaris,
 	os_windows,
 	os_android,
+	os_dragonfly,
 
 	os_nr,
 };
@@ -45,6 +46,8 @@ enum {
 #include "os-hpux.h"
 #elif defined(WIN32)
 #include "os-windows.h"
+#elif defined (__DragonFly__)
+#include "os-dragonfly.h"
 #else
 #error "unsupported os"
 #endif