summaryrefslogtreecommitdiffstats
path: root/rules/host-system-bc.make
diff options
context:
space:
mode:
authorMarkus Niebel <Markus.Niebel@tq-group.com>2017-03-09 10:00:56 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-03-09 16:21:37 +0100
commit00f0dbc51a08f3a896ea56519e1129c0bf172b73 (patch)
tree8eaaa8e4a9698819e07daa8aebb16e82d0e049e7 /rules/host-system-bc.make
parent9d81b70297231ad60e4fab83a75ee9ca93444ede (diff)
downloadptxdist-00f0dbc51a08f3a896ea56519e1129c0bf172b73.tar.gz
ptxdist-00f0dbc51a08f3a896ea56519e1129c0bf172b73.tar.xz
host-system-bc: add new host-system package
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-system-bc.make')
-rw-r--r--rules/host-system-bc.make28
1 files changed, 28 insertions, 0 deletions
diff --git a/rules/host-system-bc.make b/rules/host-system-bc.make
new file mode 100644
index 000000000..5396f1ac3
--- /dev/null
+++ b/rules/host-system-bc.make
@@ -0,0 +1,28 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by Markus Niebel <Markus Niebel@tq-group.com>
+#
+# 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_HOST_SYSTEM_BC) += host-system-bc
+HOST_SYSTEM_BC_LICENSE := ignore
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-system-bc.prepare:
+ @$(call targetinfo)
+ @echo "Checking for bc ..."
+ @bc --version >/dev/null 2>&1 || \
+ ptxd_bailout "'bc' not found! Please install.";
+ @$(call touch)
+
+# vim: syntax=make