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
76
77
|
# -*-makefile-*-
#
# Copyright (C) 2009 by Juergen Beisert
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_TIOBENCH) += tiobench
#
# Paths and names
#
TIOBENCH_VERSION := 0.3.3
TIOBENCH_MD5 := bf485bf820e693c79e6bd2a38702a128
TIOBENCH := tiobench-$(TIOBENCH_VERSION)
TIOBENCH_SUFFIX := tar.gz
TIOBENCH_URL := $(call ptx/mirror, SF, tiobench/$(TIOBENCH).$(TIOBENCH_SUFFIX))
TIOBENCH_SOURCE := $(SRCDIR)/$(TIOBENCH).$(TIOBENCH_SUFFIX)
TIOBENCH_DIR := $(BUILDDIR)/$(TIOBENCH)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
TIOBENCH_PATH := PATH=$(CROSS_PATH)
TIOBENCH_ENV := $(CROSS_ENV)
$(STATEDIR)/tiobench.prepare:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
$(STATEDIR)/tiobench.compile:
@$(call targetinfo)
cd $(TIOBENCH_DIR) && $(TIOBENCH_PATH) $(MAKE) \
CC=$(PTXCONF_GNU_TARGET)-gcc LINK=$(PTXCONF_GNU_TARGET)-gcc \
$(PARALLELMFLAGS)
@$(call touch)
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/tiobench.install:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/tiobench.targetinstall:
@$(call targetinfo)
@$(call install_init, tiobench)
@$(call install_fixup, tiobench,PRIORITY,optional)
@$(call install_fixup, tiobench,SECTION,base)
@$(call install_fixup, tiobench,AUTHOR,"Juergen Beisert <jbeisert@pengutronix.de>")
@$(call install_fixup, tiobench,DESCRIPTION,missing)
@$(call install_copy, tiobench, 0, 0, 0755, $(TIOBENCH_DIR)/tiotest, \
/usr/bin/tiotest)
@$(call install_finish, tiobench)
@$(call touch)
# vim: syntax=make
|