diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-12-15 19:38:15 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-12-17 12:10:53 +0100 |
commit | 50b60c47e2bf07f822f0c4b28d72cadb09183a02 (patch) | |
tree | 5c84421c5f9f740407a731b8cbbf58bc730a2ddb | |
parent | 126a24f2f0b780d161651ef91d2ac6eeba065380 (diff) | |
download | ptxdist-50b60c47e2bf07f822f0c4b28d72cadb09183a02.tar.gz ptxdist-50b60c47e2bf07f822f0c4b28d72cadb09183a02.tar.xz |
new package memtool
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/memtool.in | 9 | ||||
-rw-r--r-- | rules/memtool.make | 52 |
2 files changed, 61 insertions, 0 deletions
diff --git a/rules/memtool.in b/rules/memtool.in new file mode 100644 index 000000000..f520650b2 --- /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 000000000..d0438f9ef --- /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 := 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) +MEMTOOL_LICENSE := GPL-2.0 + +# ---------------------------------------------------------------------------- +# 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 |