From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [ptxdist] [PATCH] host-system-tcl: new package
Date: Wed, 10 Oct 2018 14:14:16 +0200 [thread overview]
Message-ID: <20181010121416.15768-1-a.fatoum@pengutronix.de> (raw)
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
rules/host-system-tcl.in | 6 ++++++
rules/host-system-tcl.make | 30 ++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+)
create mode 100644 rules/host-system-tcl.in
create mode 100644 rules/host-system-tcl.make
diff --git a/rules/host-system-tcl.in b/rules/host-system-tcl.in
new file mode 100644
index 000000000000..c736194d0e66
--- /dev/null
+++ b/rules/host-system-tcl.in
@@ -0,0 +1,6 @@
+## SECTION=hosttools_noprompt
+## SECTION=bootloader
+
+config HOST_SYSTEM_TCL
+ tristate
+
diff --git a/rules/host-system-tcl.make b/rules/host-system-tcl.make
new file mode 100644
index 000000000000..1c933841e092
--- /dev/null
+++ b/rules/host-system-tcl.make
@@ -0,0 +1,30 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Michael Olbrich <m.olbrich@pengutronix.de>
+# (C) 2018 by Ahmad Fatoum <a.fatoum@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
+#
+HOST_PACKAGES-$(PTXCONF_HOST_SYSTEM_TCL) += host-system-tcl
+HOST_SYSTEM_TCL_LICENSE = ignore
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-system-tcl.prepare:
+ @$(call targetinfo)
+ @echo "Checking for tclsh ..."
+ @echo exit 0 | tclsh >/dev/null 2>&1 || \
+ ptxd_bailout "'tclsh' not found! Please install.";
+ @echo
+ @$(call touch)
+
+# vim: syntax=make
--
2.19.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2018-10-10 12:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-10 12:14 Ahmad Fatoum [this message]
2018-10-11 13:44 ` Ladislav Michl
2018-10-15 9:37 ` Ahmad Fatoum
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=20181010121416.15768-1-a.fatoum@pengutronix.de \
--to=a.fatoum@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