summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastian Krause <bst@pengutronix.de>2019-02-08 10:12:16 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-02-13 08:56:45 +0100
commite2ccd378f6fc5d2696a74fcf86d5cad34604a362 (patch)
tree0caa0e6d0cae3ec65655483d46275c4b2a8ad1cf
parent36981993662bd66695ee4508c4f22b50b5d73db7 (diff)
downloadptxdist-e2ccd378f6fc5d2696a74fcf86d5cad34604a362.tar.gz
ptxdist-e2ccd378f6fc5d2696a74fcf86d5cad34604a362.tar.xz
host-json-c: new package
Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/host-json-c.in5
-rw-r--r--rules/host-json-c.make30
2 files changed, 35 insertions, 0 deletions
diff --git a/rules/host-json-c.in b/rules/host-json-c.in
new file mode 100644
index 000000000..569e21030
--- /dev/null
+++ b/rules/host-json-c.in
@@ -0,0 +1,5 @@
+## SECTION=hosttools_noprompt
+
+config HOST_JSON_C
+ tristate
+ default y if ALLYES
diff --git a/rules/host-json-c.make b/rules/host-json-c.make
new file mode 100644
index 000000000..b88b9e444
--- /dev/null
+++ b/rules/host-json-c.make
@@ -0,0 +1,30 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Bastian Krause <bst@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_JSON_C) += host-json-c
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_JSON_C_CONF_TOOL := autoconf
+HOST_JSON_C_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ --disable-threading \
+ --disable-rdrand \
+ --disable-static
+
+# vim: syntax=make