From: Jens Axboe Date: Wed, 24 Sep 2014 00:36:52 +0000 (-0600) Subject: t/dedupe: Linux only for now X-Git-Tag: fio-2.1.13~46^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=4877c1ab380b199ba6d9207b689bb1df127b0b4b;hp=761c27292d4add2be17056d8065cad4ff4e87036 t/dedupe: Linux only for now Just need to fix up the file sizing, that's the only Linux dependency. Signed-off-by: Jens Axboe --- diff --git a/Makefile b/Makefile index f2dcb797..fe439c16 100644 --- 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)