mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] new package memtool
@ 2015-12-15 18:38 Uwe Kleine-König
  0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2015-12-15 18:38 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-15 18:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-15 18:38 [ptxdist] [PATCH] new package memtool Uwe Kleine-König

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