summaryrefslogtreecommitdiffstats
path: root/rules/host-swig.make
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2019-09-01 22:31:27 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-09-02 20:30:30 +0200
commitbf60e8c58b4f12d5ece4170ffa64f7b9861a88ba (patch)
tree8fc0b77706875c468bc5a8d039cf21afff4dc97a /rules/host-swig.make
parent69698e123c4ae128e930e20becb1dcd4e72b4907 (diff)
downloadptxdist-bf60e8c58b4f12d5ece4170ffa64f7b9861a88ba.tar.gz
ptxdist-bf60e8c58b4f12d5ece4170ffa64f7b9861a88ba.tar.xz
host-swig: version bump 2.0.9 -> 3.0.8
Update version and make support for Java, Python 2 and Python 3 code generation selectable so that it doesn't pull in too many dependencies, but target packages can still select it if needed. Based on a patch by Niklas Reisser. Cc: Niklas Reisser <Niklas.Reisser@de.bosch.com> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-swig.make')
-rw-r--r--rules/host-swig.make10
1 files changed, 5 insertions, 5 deletions
diff --git a/rules/host-swig.make b/rules/host-swig.make
index d15496999..7dc685e9e 100644
--- a/rules/host-swig.make
+++ b/rules/host-swig.make
@@ -14,8 +14,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_SWIG) += host-swig
#
# Paths and names
#
-HOST_SWIG_VERSION := 2.0.9
-HOST_SWIG_MD5 := 54d534b14a70badc226129159412ea85
+HOST_SWIG_VERSION := 3.0.8
+HOST_SWIG_MD5 := c96a1d5ecb13d38604d7e92148c73c97
HOST_SWIG := swig-$(HOST_SWIG_VERSION)
HOST_SWIG_SUFFIX := tar.gz
HOST_SWIG_URL := $(call ptx/mirror, SF, swig/$(HOST_SWIG).$(HOST_SWIG_SUFFIX))
@@ -38,11 +38,11 @@ HOST_SWIG_CONF_OPT = \
--without-boost \
--without-x \
--without-tcl \
- --with-python=$(CROSS_PYTHON) \
- --without-python3 \
+ $(call ptx/ifdef, PTXCONF_HOST_SWIG_PYTHON_SUPPORT, --with-python=$(CROSS_PYTHON), --without-python) \
+ $(call ptx/ifdef, PTXCONF_HOST_SWIG_PYTHON3_SUPPORT, --with-python=$(CROSS_PYTHON3), --without-python3) \
--without-perl5 \
--without-octave \
- --without-java \
+ $(call ptx/ifdef, PTXCONF_HOST_SWIG_JAVA_SUPPORT, --with-java=$(PTXCONF_SETUP_JAVA_SDK), --without-java) \
--without-gcj \
--without-android \
--without-guile \