mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] linux-serial-test: add new package
@ 2019-04-17  7:54 Jan Luebbe
  0 siblings, 0 replies; only message in thread
From: Jan Luebbe @ 2019-04-17  7:54 UTC (permalink / raw)
  To: ptxdist; +Cc: Jan Luebbe

linux-serial-test is a small utility to test whether the serial port and
its driver are working correctly.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 rules/linux-serial-test.in   | 10 ++++++++
 rules/linux-serial-test.make | 56 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 rules/linux-serial-test.in
 create mode 100644 rules/linux-serial-test.make

diff --git a/rules/linux-serial-test.in b/rules/linux-serial-test.in
new file mode 100644
index 000000000000..3f44343340d3
--- /dev/null
+++ b/rules/linux-serial-test.in
@@ -0,0 +1,10 @@
+## SECTION=test_suites
+
+config LINUX_SERIAL_TEST
+	tristate
+	select HOST_CMAKE
+	prompt "linux-serial-test"
+	help
+	  Test application for serial ports under Linux.
+
+# vim: syntax=kconfig
diff --git a/rules/linux-serial-test.make b/rules/linux-serial-test.make
new file mode 100644
index 000000000000..255bc05aa4d1
--- /dev/null
+++ b/rules/linux-serial-test.make
@@ -0,0 +1,56 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Jan Luebbe <jlu@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_LINUX_SERIAL_TEST) += linux-serial-test
+
+#
+# Paths and names
+#
+LINUX_SERIAL_TEST_VERSION	:= 2018-09-13-gaed2a6e78160
+LINUX_SERIAL_TEST_MD5		:= 6aa8351c219b585a8cccecfe74dd964e
+LINUX_SERIAL_TEST		:= linux-serial-test-$(LINUX_SERIAL_TEST_VERSION)
+LINUX_SERIAL_TEST_SUFFIX	:= tar.gz
+LINUX_SERIAL_TEST_URL		:= https://github.com/cbrake/linux-serial-test/archive/$(LINUX_SERIAL_TEST_VERSION).tar.gz
+LINUX_SERIAL_TEST_SOURCE	:= $(SRCDIR)/$(LINUX_SERIAL_TEST).$(LINUX_SERIAL_TEST_SUFFIX)
+LINUX_SERIAL_TEST_DIR		:= $(BUILDDIR)/$(LINUX_SERIAL_TEST)
+LINUX_SERIAL_TEST_LICENSE	:= MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# cmake
+#
+LINUX_SERIAL_TEST_CONF_TOOL	:= cmake
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/linux-serial-test.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, linux-serial-test)
+	@$(call install_fixup, linux-serial-test,PRIORITY,optional)
+	@$(call install_fixup, linux-serial-test,SECTION,base)
+	@$(call install_fixup, linux-serial-test,AUTHOR,"Jan Luebbe <jlu@pengutronix.de>")
+	@$(call install_fixup, linux-serial-test,DESCRIPTION,missing)
+
+	@$(call install_copy, linux-serial-test, 0, 0, 0755, -, /usr/bin/linux-serial-test)
+
+	@$(call install_finish, linux-serial-test)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

only message in thread, other threads:[~2019-04-17  7:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-17  7:54 [ptxdist] [PATCH] linux-serial-test: add new package Jan Luebbe

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