mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v4 1/3] libjaylink: add new package
@ 2019-06-21 15:36 Michael Grzeschik
  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
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Grzeschik @ 2019-06-21 15:36 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-21 15:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-21 15:36 [ptxdist] [PATCH v4 1/3] libjaylink: add new package Michael Grzeschik
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

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