mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Jan Luebbe <jlu@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Jan Luebbe <jlu@pengutronix.de>
Subject: [ptxdist] [PATCH] linux-serial-test: add new package
Date: Wed, 17 Apr 2019 09:54:30 +0200	[thread overview]
Message-ID: <20190417075430.26648-1-jlu@pengutronix.de> (raw)

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

                 reply	other threads:[~2019-04-17  7:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20190417075430.26648-1-jlu@pengutronix.de \
    --to=jlu@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