From: Robert Schwebel <r.schwebel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Robert Schwebel <r.schwebel@pengutronix.de>
Subject: [ptxdist] [PATCH] hackbench: remove obsolete package
Date: Mon, 23 Mar 2015 08:52:00 +0100 [thread overview]
Message-ID: <1427097120-25809-1-git-send-email-r.schwebel@pengutronix.de> (raw)
The old hackbench code has long been obsoleted by the version in
rt-tests. This variant doesn't even have license information.
Remove the package.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
rules/hackbench.in | 14 ---------
rules/hackbench.make | 75 ---------------------------------------------
scripts/migrate/migrate_ptx | 10 ++++++
3 files changed, 10 insertions(+), 89 deletions(-)
delete mode 100644 rules/hackbench.in
delete mode 100644 rules/hackbench.make
diff --git a/rules/hackbench.in b/rules/hackbench.in
deleted file mode 100644
index f3f0518..0000000
--- a/rules/hackbench.in
+++ /dev/null
@@ -1,14 +0,0 @@
-## SECTION=test_suites
-config HACKBENCH
- tristate
- 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
deleted file mode 100644
index 0dab420..0000000
--- a/rules/hackbench.make
+++ /dev/null
@@ -1,75 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2007 by Michael Olbrich <m.olbrich@pengutronix.de>
-# 2009 by Marc Kleine-Budde <mkl@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_MD5 := b1c0bd167c4c28bbd6177a6316e20541
-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)
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-HACKBENCH_PATH := PATH=$(CROSS_PATH)
-HACKBENCH_ENV := $(CROSS_ENV)
-
-$(STATEDIR)/hackbench.prepare:
- @$(call targetinfo)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/hackbench.compile:
- @$(call targetinfo)
- cd $(HACKBENCH_DIR) && $(HACKBENCH_PATH) CC=$(CROSS_CC) $(MAKE) $(PARALLELMFLAGS) hackbench
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/hackbench.install:
- @$(call targetinfo)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/hackbench.targetinstall:
- @$(call targetinfo)
-
- @$(call install_init, hackbench)
- @$(call install_fixup, hackbench,PRIORITY,optional)
- @$(call install_fixup, hackbench,SECTION,base)
- @$(call install_fixup, hackbench,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
- @$(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)
-
-# vim: syntax=make
diff --git a/scripts/migrate/migrate_ptx b/scripts/migrate/migrate_ptx
index 347ff23..536ae86 100755
--- a/scripts/migrate/migrate_ptx
+++ b/scripts/migrate/migrate_ptx
@@ -228,6 +228,7 @@ s/^PTXCONF_LIBUSB_DISABLE_LOG=y$/# PTXCONF_LIBUSB_LOG is not set/
# reason : userspace tool replacement
#
s/^\(\(# \)\?PTXCONF_\)LOWPAN_TOOLS/\1WPAN_TOOLS/
+
#
# from : ptxdist-2015.02.0
# to : ptxdist-2015.03.0
@@ -238,3 +239,12 @@ s/^\(\(# \)\?PTXCONF_\)LOWPAN_TOOLS/\1WPAN_TOOLS/
/^.*GNUPG.*GNUPG.*/p
/^.*GNUPG.*GNUPG.*/d
s/^\(\(# \)\?PTXCONF_\)GNUPG\([^\n]*\n\)\(.*\)$/\1GNUPG\3\1GNUPG_GPG\3\4/
+
+#
+# from : ptxdist-2015.02.0
+# to : ptxdist-2015.03.0
+# symbol : HACKBENCH -> RT_TESTS_HACKBENCH
+# reason : old tool obsolete, new version is from rt-tests
+#
+s/^\(\(# \)PTXCONF_\)HACKBENCH/\1RT_TESTS_HACKBENCH/
+s/^PTXCONF_HACKBENCH=\([ym]\)/PTXCONF_RT_TESTS_HACKBENCH=y\nPTXCONF_RT_TESTS=\1/
--
2.1.4
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2015-03-23 7:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-23 7:52 Robert Schwebel [this message]
2015-03-23 7:59 ` Robert Schwebel
2015-03-26 9:04 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1427097120-25809-1-git-send-email-r.schwebel@pengutronix.de \
--to=r.schwebel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox