mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] schedtool: add package
@ 2012-10-01 11:22 Wolf Erik
  2012-10-12  7:37 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Wolf Erik @ 2012-10-01 11:22 UTC (permalink / raw)
  To: ptxdist


Signed-off-by: Erik Wolf <erik.wolf@neuberger.net>
---
 rules/schedtool.in   |    7 ++++++
 rules/schedtool.make |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
 create mode 100644 rules/schedtool.in
 create mode 100644 rules/schedtool.make

diff --git a/rules/schedtool.in b/rules/schedtool.in
new file mode 100644
index 0000000..0a814f5
--- /dev/null
+++ b/rules/schedtool.in
@@ -0,0 +1,7 @@
+## SECTION=shell_and_console
+
+config SCHEDTOOL
+	tristate
+	prompt "schedtool"
+	help
+	  schedtool can be used to query or alter a process' scheduling policy under linux
diff --git a/rules/schedtool.make b/rules/schedtool.make
new file mode 100644
index 0000000..eb8f437
--- /dev/null
+++ b/rules/schedtool.make
@@ -0,0 +1,61 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2012 by Martin Wagner <martin.wagner@neuberger.net>
+#
+# 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_SCHEDTOOL) += schedtool
+
+#
+# Paths and names
+#
+SCHEDTOOL_VERSION	:= 1.3.0
+SCHEDTOOL_MD5		:= 0d968f05d3ad7675f1f33ef1f6d0a3fb
+SCHEDTOOL		:= schedtool-$(SCHEDTOOL_VERSION)
+SCHEDTOOL_SUFFIX	:= tar.bz2
+SCHEDTOOL_URL		:= http://freequaos.host.sk/schedtool/$(SCHEDTOOL).$(SCHEDTOOL_SUFFIX)
+SCHEDTOOL_SOURCE	:= $(SRCDIR)/$(SCHEDTOOL).$(SCHEDTOOL_SUFFIX)
+SCHEDTOOL_DIR		:= $(BUILDDIR)/$(SCHEDTOOL)
+SCHEDTOOL_LICENSE	:= GPLv2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+SCHEDTOOL_CONF_TOOL	:= NO
+SCHEDTOOL_MAKE_ENV	:= $(CROSS_ENV) CPPFLAGS="$(CROSS_CFLAGS) $(CROSS_CPPFLAGS)"
+SCHEDTOOL_MAKE_OPT	:= CC=$(CROSS_CC)
+SCHEDTOOL_INSTALL_OPT	:= DESTPREFIX=/usr install
+
+
+$(STATEDIR)/schedtool.prepare:
+	@$(call targetinfo)
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/schedtool.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, schedtool)
+	@$(call install_fixup, schedtool,PRIORITY,optional)
+	@$(call install_fixup, schedtool,SECTION,base)
+	@$(call install_fixup, schedtool,AUTHOR,"Martin Wagner <martin.wagner@neuberger.net>")
+	@$(call install_fixup, schedtool,DESCRIPTION,missing)
+
+	@$(call install_copy, schedtool, 0, 0, 0755, -, /usr/bin/schedtool)
+
+	@$(call install_finish, schedtool)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
1.7.10.4 
 
 
Mit freundlichen Grüßen
 
i.A. Erik Wolf
Hardwareentwicklung 
 
Neuberger Gebäudeautomation GmbH
Oberer Kaiserweg 6
91541 Rothenburg o.d.T.
 
Telefon:  +49 9861 402-542
Telefax:  +49 9861 402-533
E-Mail:   erik.wolf@neuberger.net
Internet: www.neuberger.net
 
Handelsregister: AG Ansbach HRB 4933
Sitz: Rothenburg ob der Tauber
Geschäftsführer: Klaus Lenkner
Ust.IdNr. DE 271 188 426


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-12  7:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-01 11:22 [ptxdist] [PATCH v2] schedtool: add package Wolf Erik
2012-10-12  7:37 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox