diff options
author | Phil Sutter <phil@nwl.cc> | 2010-04-11 02:14:56 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2010-06-12 14:02:48 +0200 |
commit | a0f533460bcb41a04d592345303348575f2e23e2 (patch) | |
tree | 04a410486da0a160094c86a69db123b21cf58c93 /Config.in | |
parent | 27ad978f93dcf77403f80f2c651359267d7602bb (diff) |
auto-generate package/Config.in
The algorithm in package/pkgmaker works as follows:
1) for all package/*/Makefile
a) parse PKG_NAME and PKG_SECTION
b) skip if PKG_SECTION is 'kernel' (special ones)
c) check if Config.in{,.lib,.manual} contain something
d) fetch the first word of the first prompt from any result from c)
e) fetch the verbose section name from package/SECTIONS.list based on
PKG_SECTION, or just 'libs' if it's about Config.in.lib
f) write results to package/package_section_list, in the form:
'<Config.in prompt> <path to Config.in file> <verbose section name>'
2) sort package/package_section_list first by <verbose section name>,
next by <Config.in prompt>
3) create package/Config.in.auto using the result from 2)
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -136,4 +136,25 @@ endchoice endmenu source "target/Config.in" -source "package/Config.in" + +menu "Package selection" + +config ADK_ENABLE_IPV6 + prompt "enable IPv6 globally" + boolean + default y + # FIXME: selecting stuff here is ugly, better fix package flavours to + # support a symbol-value-based default (i.e., "default y if IPV6") + select ADK_PACKAGE_NFS_UTILS_WITH_TIRPC if ADK_PACKAGE_NFS_UTILS != n + help + This enables IPv6 support in all related applications. Basically this + just means passing --enable-ipv6 to the configure script, but the + exception proves the rule. ;) + +source "package/Config.in.auto" +endmenu + +menu "Kernel configuration" +source "target/linux/Config.in" +source "package/rtsp/Config.in" +endmenu |