blob: 3ee856b09f250dec756b173898682772c4b5e593 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# -*-makefile-*-
#
# Copyright (C) 2013 by Marc Kleine-Budde <mkl@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_SWIG) += host-swig
#
# Paths and names
#
HOST_SWIG_VERSION := 2.0.9
HOST_SWIG_MD5 := 54d534b14a70badc226129159412ea85
HOST_SWIG := swig-$(HOST_SWIG_VERSION)
HOST_SWIG_SUFFIX := tar.gz
HOST_SWIG_URL := $(call ptx/mirror, SF, swig/$(HOST_SWIG).$(HOST_SWIG_SUFFIX))
HOST_SWIG_SOURCE := $(SRCDIR)/$(HOST_SWIG).$(HOST_SWIG_SUFFIX)
HOST_SWIG_DIR := $(HOST_BUILDDIR)/$(HOST_SWIG)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
HOST_SWIG_CONF_TOOL := autoconf
HOST_SWIG_DEVPKG := NO
# no := due to CROSS_PYTHON
HOST_SWIG_CONF_OPT = \
$(HOST_AUTOCONF_SYSROOT) \
--without-boost \
--without-x \
--without-tcl \
--with-python=$(CROSS_PYTHON) \
--without-python3 \
--without-perl5 \
--without-octave \
--without-java \
--without-gcj \
--without-android \
--without-guile \
--without-mzscheme \
--without-ruby \
--without-php \
--without-ocaml \
--without-pike \
--without-chicken \
--without-csharp \
--without-lua \
--without-allegrocl \
--without-clisp \
--without-r \
--without-go \
--without-d
# vim: syntax=make
|