From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] package/schedtool: new package
Date: Fri, 29 May 2015 10:46:32 +0200 [thread overview]
Message-ID: <1432889192-22169-1-git-send-email-angelo.compagnucci@gmail.com> (raw)
Schedtool is the definitive interface to Linux's scheduler.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
Changes v1 -> v2:
- switched to TARGET_CONFIGURE_OPTS
- fixed license
package/Config.in | 1 +
package/schedtool/Config.in | 10 ++++++++++
package/schedtool/schedtool.mk | 20 ++++++++++++++++++++
3 files changed, 31 insertions(+)
create mode 100644 package/schedtool/Config.in
create mode 100644 package/schedtool/schedtool.mk
diff --git a/package/Config.in b/package/Config.in
index 6661240..35f02e5 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1414,6 +1414,7 @@ endif
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/rsyslog/Config.in"
endif
+ source "package/schedtool/Config.in"
source "package/smack/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/start-stop-daemon/Config.in"
diff --git a/package/schedtool/Config.in b/package/schedtool/Config.in
new file mode 100644
index 0000000..928a02e
--- /dev/null
+++ b/package/schedtool/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_SCHEDTOOL
+ bool "schedtool"
+ help
+ schedtool was born, because there was no tool to change or query
+ all CPU-scheduling policies under Linux, in one handy command.
+ Support for CPU-affinity has also been added and most recently
+ (re-)nicing of processes.
+ Thus, schedtool is the definitive interface to Linux's scheduler.
+
+ https://github.com/jlelli/schedtool-dl
diff --git a/package/schedtool/schedtool.mk b/package/schedtool/schedtool.mk
new file mode 100644
index 0000000..481ecc0
--- /dev/null
+++ b/package/schedtool/schedtool.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# schedtool
+#
+################################################################################
+
+SCHEDTOOL_VERSION = 3ffb479929c31cbae09de08f94f58b8f0f061d91
+SCHEDTOOL_SITE = $(call github,jlelli,schedtool-dl,$(SCHEDTOOL_VERSION))
+SCHEDTOOL_LICENSE = GPLv2
+SCHEDTOOL_LICENSE_FILES = LICENSE
+
+define SCHEDTOOL_BUILD_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
+endef
+
+define SCHEDTOOL_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/schedtool $(TARGET_DIR)/usr/bin
+endef
+
+$(eval $(generic-package))
--
1.9.1
next reply other threads:[~2015-05-29 8:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-29 8:46 Angelo Compagnucci [this message]
2015-07-10 22:08 ` [Buildroot] [PATCH v2] package/schedtool: new package Romain Naour
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=1432889192-22169-1-git-send-email-angelo.compagnucci@gmail.com \
--to=angelo.compagnucci@gmail.com \
--cc=buildroot@busybox.net \
/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