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

Last change on this file since 346 was 346, checked in by ehem, 8 years ago

Straighten out $(OPENWRT_REVISION), now $(OPENWRT_REVISION) is *strictly*
the revision (for svn's -r option). Whereas $(OPENWRT_BRANCH) specifies
which branch of OpenWRT's tree to use.

File size: 1.3 KB
Line 
1choice
2        prompt "OpenWrt Revision"
3        default OPENWRT_REVISION_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_BACKFIRE
13                bool "backfire ( not tested recently )"
14
15        config OPENWRT_BRANCH_OTHER
16                bool "some other branch of OpenWRT (specify below)"
17endchoice
18
19if OPENWRT_BRANCH_OTHER
20config OPENWRT_BRANCH
21        string "Specify OpenWRT branch to use"
22        help
23                Specify what branch you wish to use. You can even specify "trunk" or
24                "backfire" here, but you generally choose those above.
25
26endif
27# sigh, no else statement in this grammer
28if !OPENWRT_BRANCH_OTHER
29config OPENWRT_BRANCH
30        string
31                default "trunk" if OPENWRT_BRANCH_TRUNK
32                default "backfire" if OPENWRT_BRANCH_BACKFIRE
33                default "unset"
34endif
35
36config OPENWRT_REVISION
37        string "Specify OpenWRT revision to use (`svn co -r XXXXX`)"
38                default "HEAD"
39        help
40                This sets the revision of the OpenWRT branch that should be used.
41                Sometimes changes at the head of a branch may break DebWRT, and this
42                allows you to specify an earlier revision that still works.
43
44                This may also be used by some plugins that target specific revision of
45                OpenWRT.
46
Note: See TracBrowser for help on using the repository browser.