mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Grzeschik <m.grzeschik@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v4 1/3] libjaylink: add new package
Date: Fri, 21 Jun 2019 17:36:27 +0200	[thread overview]
Message-ID: <20190621153629.16656-1-m.grzeschik@pengutronix.de> (raw)

From: Michael Grzeschik <mgr@pengutronix.de>

Signed-off-by: Michael Grzeschik <mgr@pengutronix.de>
---
 .../libjaylink-0.1.0-15-g8645845/autogen.sh   |  1 +
 rules/libjaylink.in                           |  8 ++++
 rules/libjaylink.make                         | 41 +++++++++++++++++++
 3 files changed, 50 insertions(+)
 create mode 120000 patches/libjaylink-0.1.0-15-g8645845/autogen.sh
 create mode 100644 rules/libjaylink.in
 create mode 100644 rules/libjaylink.make

diff --git a/patches/libjaylink-0.1.0-15-g8645845/autogen.sh b/patches/libjaylink-0.1.0-15-g8645845/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/libjaylink-0.1.0-15-g8645845/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/rules/libjaylink.in b/rules/libjaylink.in
new file mode 100644
index 000000000..b2ddf91dc
--- /dev/null
+++ b/rules/libjaylink.in
@@ -0,0 +1,8 @@
+## SECTION=debug_tools
+
+config LIBJAYLINK
+	bool
+	prompt "libjaylink                    "
+	select LIBUSB
+	help
+	  Library to access J-Link devices
diff --git a/rules/libjaylink.make b/rules/libjaylink.make
new file mode 100644
index 000000000..df5fbfa8d
--- /dev/null
+++ b/rules/libjaylink.make
@@ -0,0 +1,41 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Michael Grzeschik <mgr@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.
+#
+
+PACKAGES-$(PTXCONF_LIBJAYLINK) += libjaylink
+
+LIBJAYLINK_VERSION	:= 0.1.0-15-g8645845
+LIBJAYLINK_MD5		:= 6e71d5c39ae4778bb8d0df79d2524c07
+LIBJAYLINK		:= libjaylink-$(LIBJAYLINK_VERSION)
+LIBJAYLINK_SUFFIX	:= tar.bz2
+LIBJAYLINK_URL		:= git://git.zapb.de/libjaylink;tag=$(LIBJAYLINK_VERSION)
+LIBJAYLINK_SOURCE	:= $(SRCDIR)/$(LIBJAYLINK).$(LIBJAYLINK_SUFFIX)
+LIBJAYLINK_DIR		:= $(BUILDDIR)/$(LIBJAYLINK)
+LIBJAYLINK_LICENSE	:= GPL-2.0+
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libjaylink.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libjaylink)
+	@$(call install_fixup, libjaylink,PRIORITY,optional)
+	@$(call install_fixup, libjaylink,SECTION,base)
+	@$(call install_fixup, libjaylink,AUTHOR,"Michael Grzeschik <mgr@pengutronix.de>")
+	@$(call install_fixup, libjaylink,DESCRIPTION,"Library to access J-Link devices")
+
+	@$(call install_lib, libjaylink, 0, 0, 0644, libjaylink)
+
+	@$(call install_finish, libjaylink)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2019-06-21 15:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-21 15:36 Michael Grzeschik [this message]
2019-06-21 15:36 ` [ptxdist] [PATCH v4 2/3] openocd: update rules Michael Grzeschik
2019-06-21 15:36 ` [ptxdist] [PATCH v4 3/3] host-openocd: add initial support Michael Grzeschik
2019-06-21 15:42   ` Michael Grzeschik

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=20190621153629.16656-1-m.grzeschik@pengutronix.de \
    --to=m.grzeschik@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