summaryrefslogtreecommitdiff
path: root/config/versions/expat.in
blob: b7b61cab5c9de5329c8b4e12194bfad16c06c60c (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#
# DO NOT EDIT! This file is automatically generated.
#


if EXPERIMENTAL
choice
	bool "Source of expat"

config EXPAT_SRC_RELEASE
	bool "Released tarball"
	help
	  Download a released tarball.

config EXPAT_SRC_DEVEL
	bool "Vendor repository"
	help
	  Check out from vendor repository at:
	  https://github.com/libexpat/libexpat.git

if EXPAT_SRC_DEVEL

config EXPAT_DEVEL_VCS
	string
	default "git"

config EXPAT_DEVEL_URL
	string
	default "https://github.com/libexpat/libexpat.git"

config EXPAT_DEVEL_BRANCH
	string "Branch to check out"
	default "master"
	help
	  Git: branch to be checked out
	  Subversion: directories to append to the repository URL.

config EXPAT_DEVEL_REVISION
	string "Revision/changeset"
	default "HEAD"
	help
	  Commit ID or revision ID to check out.

endif

config EXPAT_SRC_CUSTOM
	bool "Custom location"
	depends on EXPERIMENTAL
	help
	  Custom directory or tarball.

if EXPAT_SRC_CUSTOM

config EXPAT_CUSTOM_LOCATION
	string "Custom source location"
	help
	  Path to the directory or tarball with the sources.

endif

endchoice
endif

config EXPAT_MIRRORS_ARRAY
    string
    default ""

choice
	bool "Version of expat"
    help
      For a released version, select the version of expat to download
      and build. For sources out of the vendor repository or from a custom
      location, select the version that describes those custom sources.
      Based on this version, crosstool-NG may apply some version-specific
      quirks while building expat.

config EXPAT_VERY_NEW
    bool "newer than anything below"
    depends on EXPERIMENTAL
    depends on EXPAT_SRC_DEVEL || EXPAT_SRC_CUSTOM

config EXPAT_V_2_2_0
	bool "2.2.0"

config EXPAT_V_2_1_1
	bool "2.1.1 (OBSOLETE)"
	depends on OBSOLETE

config EXPAT_VERY_OLD
    bool "older than anything above"
    depends on OBSOLETE && EXPERIMENTAL
    depends on EXPAT_SRC_DEVEL || EXPAT_SRC_CUSTOM

endchoice



config EXPAT_VERSION
	string
	default "2.2.0" if EXPAT_V_2_2_0
	default "2.1.1" if EXPAT_V_2_1_1
	default "unknown"