summaryrefslogtreecommitdiffstats
path: root/rules/fio.make
blob: 97bd74aead38efc61e92a19c6c52f6838e9622d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# -*-makefile-*-
#
# Copyright (C) 2020 by Lucas Stach <l.stach@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_FIO) += fio

#
# Paths and names
#
FIO_VERSION		:= 3.32
FIO_MD5			:= 505dd0fea0850cc90c994c65133407e1
FIO			:= fio-$(FIO_VERSION)
FIO_SUFFIX		:= tar.gz
FIO_URL			:= https://brick.kernel.dk/snaps/$(FIO).$(FIO_SUFFIX)
FIO_SOURCE		:= $(SRCDIR)/$(FIO).$(FIO_SUFFIX)
FIO_DIR			:= $(BUILDDIR)/$(FIO)
FIO_LICENSE		:= GPL-2.0-only
FIO_LICENSE_FILES	:= file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# Not really autoconf, but a hand-written configure script.
#
FIO_CONF_TOOL	:= autoconf
FIO_CONF_OPT	:= \
	--prefix=/usr \
	--disable-numa \
	--disable-rdma \
	--disable-rados \
	--disable-rbd \
	--disable-http \
	--disable-gfapi \
	--disable-libnfs \
	--disable-lex \
	--disable-pmem \
	--disable-native \
	--disable-xnvme \
	--disable-libzbc \
	--disable-tcmalloc \
	--disable-dfs

FIO_FLAGS_BLACKLIST := \
	-lz \
	-laio

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/fio.targetinstall:
	@$(call targetinfo)

	@$(call install_init, fio)
	@$(call install_fixup, fio,PRIORITY,optional)
	@$(call install_fixup, fio,SECTION,base)
	@$(call install_fixup, fio,AUTHOR,"Lucas Stach <l.stach@pengutronix.de>")
	@$(call install_fixup, fio,DESCRIPTION,missing)

	@$(call install_copy, fio, 0, 0, 0755, -, /usr/bin/fio)

	@$(call install_finish, fio)

	@$(call touch)

# vim: syntax=make