diff options
author | Markus Niebel <Markus.Niebel@tq-group.com> | 2017-03-09 10:00:56 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-03-09 16:21:37 +0100 |
commit | 00f0dbc51a08f3a896ea56519e1129c0bf172b73 (patch) | |
tree | 8eaaa8e4a9698819e07daa8aebb16e82d0e049e7 /rules/host-system-bc.make | |
parent | 9d81b70297231ad60e4fab83a75ee9ca93444ede (diff) | |
download | ptxdist-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.make | 28 |
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 |