mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] new package memtool
Date: Tue, 15 Dec 2015 19:38:15 +0100	[thread overview]
Message-ID: <1450204695-26830-1-git-send-email-u.kleine-koenig@pengutronix.de> (raw)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 rules/memtool.in   |  9 +++++++++
 rules/memtool.make | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 rules/memtool.in
 create mode 100644 rules/memtool.make

diff --git a/rules/memtool.in b/rules/memtool.in
new file mode 100644
index 000000000000..f520650b2b8b
--- /dev/null
+++ b/rules/memtool.in
@@ -0,0 +1,9 @@
+## SECTION=shell_and_console
+
+config MEMTOOL
+	tristate
+	prompt "memtool"
+	help
+	  A handy tool to manipulate and read memory mapped registers. The
+	  available subcommands are inspired by the respective commands of the
+	  barebox bootloader.
diff --git a/rules/memtool.make b/rules/memtool.make
new file mode 100644
index 000000000000..8571e0764966
--- /dev/null
+++ b/rules/memtool.make
@@ -0,0 +1,52 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2015 by Uwe Kleine-Koenig <u.kleine-koenig@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_MEMTOOL) += memtool
+
+#
+# Paths and names
+#
+MEMTOOL_VERSION	:= 2015.12.2
+MEMTOOL_MD5	:= 851ebeb521fe68c27b5d75221fab5333
+MEMTOOL_LICENSE	:= GPLv2
+MEMTOOL		:= memtool-$(MEMTOOL_VERSION)
+MEMTOOL_SUFFIX	:= tar.xz
+MEMTOOL_URL	:= http://www.pengutronix.de/software/memtool/downloads/$(MEMTOOL).$(MEMTOOL_SUFFIX)
+MEMTOOL_SOURCE	:= $(SRCDIR)/$(MEMTOOL).$(MEMTOOL_SUFFIX)
+MEMTOOL_DIR	:= $(BUILDDIR)/$(MEMTOOL)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+MEMTOOL_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/memtool.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, memtool)
+	@$(call install_fixup, memtool,PRIORITY,optional)
+	@$(call install_fixup, memtool,SECTION,base)
+	@$(call install_fixup, memtool,AUTHOR,"Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>")
+	@$(call install_fixup, memtool,DESCRIPTION,missing)
+	@$(call install_copy, memtool, 0, 0, 0755, -, /usr/sbin/memtool)
+
+	@$(call install_finish, memtool)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.6.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2015-12-15 18:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1450204695-26830-1-git-send-email-u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@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