source: branches/contrib/config/openwrt_version.in @ 510

Last change on this file since 510 was 510, checked in by ehem, 6 years ago

Handle *another* bit of OpenWrt versioning we should handle. They've got
release tags too.

File size: 2.2 KB
Line 
1choice
2        prompt "OpenWrt Branch"
3        default OPENWRT_BRANCH_TRUNK
4        help
5                Choose the branch of OpenWRT to build from. Most often this will be
6                OpenWRT's trunk, but there could be reasons to use another branch. If you
7                want to use a branch beside these two, choose OTHER and specify below.
8
9        config OPENWRT_BRANCH_TRUNK
10                bool "trunk"
11
12        config OPENWRT_BRANCH_ATTITUDE_ADJUSTMENT
13                bool "attitude_adjustment"
14
15        config OPENWRT_BRANCH_BACKFIRE
16                bool "backfire ( not tested recently )"
17
18        config OPENWRT_BRANCH_OTHER
19                bool "other branch ( specify below )"
20endchoice
21
22if OPENWRT_BRANCH_OTHER
23config OPENWRT_BRANCH
24        string "Other OpenWRT Branch"
25        help
26                Specify what branch you wish to use. You can even specify "trunk" or
27                "backfire" here, but you generally choose those above.
28
29endif
30# sigh, no else statement in this grammer
31if !OPENWRT_BRANCH_OTHER
32config OPENWRT_BRANCH
33        string
34                default "trunk" if OPENWRT_BRANCH_TRUNK
35                default "attitude_adjustment" if OPENWRT_BRANCH_ATTITUDE_ADJUSTMENT
36                default "backfire" if OPENWRT_BRANCH_BACKFIRE
37                default "unset"
38endif
39
40if !OPENWRT_BRANCH_TRUNK
41choice
42        prompt "OpenWrt Release Tag"
43        help
44                Specify an OpenWrt release tag to build. Alternatively you can
45                specify a Subversion revision below.
46
47if OPENWRT_BRANCH_ATTITUDE_ADJUSTMENT
48        config OPENWRT_TAG_ATTITUDE_ADJUSTMENT_12_09
49                bool "attitude_adjustment_12.09"
50endif
51if OPENWRT_BRANCH_BACKFIRE
52        config OPENWRT_TAG_BACKFIRE_10_03_1
53                bool "backfire_10.03.1"
54
55        config OPENWRT_TAG_BACKFIRE_10_03
56                bool "backfire_10.03"
57endif
58        config OPENWRT_TAG_NONE
59                bool "none"
60endchoice
61
62config OPENWRT_TAG
63        string
64                default "attitude_adjustment_12.09" if OPENWRT_TAG_ATTITUDE_ADJUSTMENT_12_09
65                default "backfire_10.03" if OPENWRT_TAG_BACKFIRE_10_03
66                default "backfire_10.03.1" if OPENWRT_TAG_BACKFIRE_10_03_1
67                default ""
68
69endif
70
71if DO_CONF_OPENWRT_REVISON
72config OPENWRT_REVISION
73        string "OpenWRT Revision"
74                default "HEAD"
75        help
76                This sets the revision of the OpenWRT branch that should be used.
77                Sometimes changes at the head of a branch may break DebWRT, and this
78                allows you to specify an earlier revision that still works.
79
80                This may also be used by some plugins that target specific revision of
81                OpenWRT.
82 
83                The revision number is directy feeded to `svn co -r XXXXX`.
84endif
85
Note: See TracBrowser for help on using the repository browser.