t/dedupe: Linux only for now
authorJens Axboe <axboe@fb.com>
Wed, 24 Sep 2014 00:36:52 +0000 (18:36 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 24 Sep 2014 00:36:52 +0000 (18:36 -0600)
Just need to fix up the file sizing, that's the only Linux
dependency.

Signed-off-by: Jens Axboe <axboe@fb.com>
Makefile

index f2dcb7976755614465bd071deb9a3abb645ae568..fe439c16c95a013cdf72955340e5e667714bca1c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -189,10 +189,12 @@ T_BTRACE_FIO_OBJS += fifo.o lib/flist_sort.o t/log.o lib/linux-dev-lookup.o
 T_BTRACE_FIO_PROGS = t/btrace2fio
 endif
 
+ifeq ($(CONFIG_TARGET_OS), Linux)
 T_DEDUPE_OBJS = t/dedupe.o
 T_DEDUPE_OBJS += lib/rbtree.o t/log.o mutex.o smalloc.o gettime.o crc/md5.o \
                memalign.o
 T_DEDUPE_PROGS = t/dedupe
+endif
 
 T_OBJS = $(T_SMALLOC_OBJS)
 T_OBJS += $(T_IEEE_OBJS)