diff options
-rw-r--r-- | CREDITS | 20 | ||||
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | rules/Kconfig | 2 | ||||
-rw-r--r-- | rules/calibrator.in | 10 | ||||
-rw-r--r-- | rules/calibrator.make | 126 | ||||
-rw-r--r-- | rules/hackbench.in | 14 | ||||
-rw-r--r-- | rules/hackbench.make | 126 |
7 files changed, 294 insertions, 8 deletions
@@ -75,14 +75,6 @@ N: Roland Hostettler E: r.hostettler@gmx.ch D: Developer -N: Claudio Leonel -E: cls@elaxys.com.br -D: Developer - -N: Ladislav Michl -E: ladis@linux-mips.org -D: Maintainer - N: Lev Iserovich E: lev.iserovich@deshaw.com D: Developer @@ -98,6 +90,14 @@ E: j.kilb@phytec.de D: Developer S: Phytec Messtechnik GmbH +N: Claudio Leonel +E: cls@elaxys.com.br +D: Developer + +N: Ladislav Michl +E: ladis@linux-mips.org +D: Maintainer + N: Shahar Livne E: livnes@gmail.com D: Developer @@ -109,6 +109,10 @@ D: Developer N: Jiri Nesladek D: Developer +N: Michael Olbrich +E: m.olbrich@pengutronix.de +D: Developer + N: Oscar Peredo E: oscar@exis.cl D: Developer @@ -1,5 +1,9 @@ 2007-12-31 Robert Schwebel <r.schwebel@pengutronix.de> + * hackbench: added; patch by Michael Olbrich + + * calibrator: added; patch by Michael Olbrich + * libxml2: set LIBXML2_ENV needed for a correct generation when the cross toolchain prefix and the target name differs. strip the lib on the target file system. Patch by Guillaume Gourat. diff --git a/rules/Kconfig b/rules/Kconfig index dfa3aff00..d7b4b257b 100644 --- a/rules/Kconfig +++ b/rules/Kconfig @@ -246,7 +246,9 @@ source "rules/jvisu.in" endmenu menu "Test Suites " +source "rules/calibrator.in" source "rules/cyclictest.in" +source "rules/hackbench.in" source "rules/iperf.in" source "rules/host-pelts.in" source "rules/pelts_tests.in" diff --git a/rules/calibrator.in b/rules/calibrator.in new file mode 100644 index 000000000..25c8639c2 --- /dev/null +++ b/rules/calibrator.in @@ -0,0 +1,10 @@ + +config CALIBRATOR + bool + prompt "calibrator" + help + The Calibrator is a Cache-Memory and TLB Calibration Tool + + See http://monetdb.cwi.nl/Calibrator/ for details. + +# vim: syntax=kconfig diff --git a/rules/calibrator.make b/rules/calibrator.make new file mode 100644 index 000000000..6d4168265 --- /dev/null +++ b/rules/calibrator.make @@ -0,0 +1,126 @@ +# -*-makefile-*- +# $Id: template 6655 2007-01-02 12:55:21Z rsc $ +# +# Copyright (C) 2007 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# 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_CALIBRATOR) += calibrator + +# +# Paths and names +# +CALIBRATOR_VERSION := 20070821-1 +CALIBRATOR := calibrator-$(CALIBRATOR_VERSION) +CALIBRATOR_SUFFIX := tar.bz2 +CALIBRATOR_URL := http://www.pengutronix.de/software/ptxdist/temporary-src/$(CALIBRATOR).$(CALIBRATOR_SUFFIX) +CALIBRATOR_SOURCE := $(SRCDIR)/$(CALIBRATOR).$(CALIBRATOR_SUFFIX) +CALIBRATOR_DIR := $(BUILDDIR)/$(CALIBRATOR) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +calibrator_get: $(STATEDIR)/calibrator.get + +$(STATEDIR)/calibrator.get: $(calibrator_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(CALIBRATOR_SOURCE): + @$(call targetinfo, $@) + @$(call get, CALIBRATOR) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +calibrator_extract: $(STATEDIR)/calibrator.extract + +$(STATEDIR)/calibrator.extract: $(calibrator_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(CALIBRATOR_DIR)) + @$(call extract, CALIBRATOR) + @$(call patchin, CALIBRATOR) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +calibrator_prepare: $(STATEDIR)/calibrator.prepare + +CALIBRATOR_PATH := PATH=$(CROSS_PATH) +CALIBRATOR_ENV := $(CROSS_ENV) + +# +# autoconf +# +CALIBRATOR_AUTOCONF := $(CROSS_AUTOCONF_USR) + +$(STATEDIR)/calibrator.prepare: $(calibrator_prepare_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +calibrator_compile: $(STATEDIR)/calibrator.compile + +$(STATEDIR)/calibrator.compile: $(calibrator_compile_deps_default) + @$(call targetinfo, $@) + cd $(CALIBRATOR_DIR) && $(CALIBRATOR_PATH) CC=$(CROSS_CC) LDFLAGS=-lm $(MAKE) $(PARALLELMFLAGS) calibrator + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +calibrator_install: $(STATEDIR)/calibrator.install + +$(STATEDIR)/calibrator.install: $(calibrator_install_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +calibrator_targetinstall: $(STATEDIR)/calibrator.targetinstall + +$(STATEDIR)/calibrator.targetinstall: $(calibrator_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init, calibrator) + @$(call install_fixup, calibrator,PACKAGE,calibrator) + @$(call install_fixup, calibrator,PRIORITY,optional) + @$(call install_fixup, calibrator,VERSION,$(CALIBRATOR_VERSION)) + @$(call install_fixup, calibrator,SECTION,base) + @$(call install_fixup, calibrator,AUTHOR,"Michael Olbrich <m.olbrich\@pengutronix.de>") + @$(call install_fixup, calibrator,DEPENDS,) + @$(call install_fixup, calibrator,DESCRIPTION,missing) + + @$(call install_copy, calibrator, 0, 0, 0755, $(CALIBRATOR_DIR)/calibrator, /usr/bin/calibrator) + + @$(call install_finish, calibrator) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +calibrator_clean: + rm -rf $(STATEDIR)/calibrator.* + rm -rf $(IMAGEDIR)/calibrator_* + rm -rf $(CALIBRATOR_DIR) + +# vim: syntax=make diff --git a/rules/hackbench.in b/rules/hackbench.in new file mode 100644 index 000000000..1b0a49938 --- /dev/null +++ b/rules/hackbench.in @@ -0,0 +1,14 @@ + +config HACKBENCH + bool + prompt "hackbench" + help + The hackbench test is a benchmark for measuring the performance, + overhead, and scalability of the Linux scheduler. Created by Rusty + Russell, it uses client and server processes grouped to send and + receive data in order to simulate the connections established for a + chat room. Each client sends a message to each server in the group. + + See http://developer.osdl.org/craiger/hackbench/ for details. + +# vim: syntax=kconfig diff --git a/rules/hackbench.make b/rules/hackbench.make new file mode 100644 index 000000000..d7b809a56 --- /dev/null +++ b/rules/hackbench.make @@ -0,0 +1,126 @@ +# -*-makefile-*- +# $Id: template 6655 2007-01-02 12:55:21Z rsc $ +# +# Copyright (C) 2007 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# 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_HACKBENCH) += hackbench + +# +# Paths and names +# +HACKBENCH_VERSION := 20070821-1 +HACKBENCH := hackbench-$(HACKBENCH_VERSION) +HACKBENCH_SUFFIX := tar.bz2 +HACKBENCH_URL := http://www.pengutronix.de/software/ptxdist/temporary-src/$(HACKBENCH).$(HACKBENCH_SUFFIX) +HACKBENCH_SOURCE := $(SRCDIR)/$(HACKBENCH).$(HACKBENCH_SUFFIX) +HACKBENCH_DIR := $(BUILDDIR)/$(HACKBENCH) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +hackbench_get: $(STATEDIR)/hackbench.get + +$(STATEDIR)/hackbench.get: $(hackbench_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(HACKBENCH_SOURCE): + @$(call targetinfo, $@) + @$(call get, HACKBENCH) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +hackbench_extract: $(STATEDIR)/hackbench.extract + +$(STATEDIR)/hackbench.extract: $(hackbench_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HACKBENCH_DIR)) + @$(call extract, HACKBENCH) + @$(call patchin, HACKBENCH) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +hackbench_prepare: $(STATEDIR)/hackbench.prepare + +HACKBENCH_PATH := PATH=$(CROSS_PATH) +HACKBENCH_ENV := $(CROSS_ENV) + +# +# autoconf +# +HACKBENCH_AUTOCONF := $(CROSS_AUTOCONF_USR) + +$(STATEDIR)/hackbench.prepare: $(hackbench_prepare_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +hackbench_compile: $(STATEDIR)/hackbench.compile + +$(STATEDIR)/hackbench.compile: $(hackbench_compile_deps_default) + @$(call targetinfo, $@) + cd $(HACKBENCH_DIR) && $(HACKBENCH_PATH) CC=$(CROSS_CC) $(MAKE) $(PARALLELMFLAGS) hackbench + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +hackbench_install: $(STATEDIR)/hackbench.install + +$(STATEDIR)/hackbench.install: $(hackbench_install_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +hackbench_targetinstall: $(STATEDIR)/hackbench.targetinstall + +$(STATEDIR)/hackbench.targetinstall: $(hackbench_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init, hackbench) + @$(call install_fixup, hackbench,PACKAGE,hackbench) + @$(call install_fixup, hackbench,PRIORITY,optional) + @$(call install_fixup, hackbench,VERSION,$(HACKBENCH_VERSION)) + @$(call install_fixup, hackbench,SECTION,base) + @$(call install_fixup, hackbench,AUTHOR,"Michael Olbrich <m.olbrich\@pengutronix.de>") + @$(call install_fixup, hackbench,DEPENDS,) + @$(call install_fixup, hackbench,DESCRIPTION,missing) + + @$(call install_copy, hackbench, 0, 0, 0755, $(HACKBENCH_DIR)/hackbench, /usr/bin/hackbench) + + @$(call install_finish, hackbench) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +hackbench_clean: + rm -rf $(STATEDIR)/hackbench.* + rm -rf $(IMAGEDIR)/hackbench_* + rm -rf $(HACKBENCH_DIR) + +# vim: syntax=make |