crosstool-ng/maintainer/kconfig-choice.template
Alexey Neyman 40d5bf6440 Add moxiebox as a choice for libc
This required some rework of the libc selection, as moxiebox is a layer on
top of another libc - newlib.

Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will
not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox
needs from libcrypto is SHA256, and it already includes a standalone implementation
of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use
that implementation for the host binary, too.

Also, automate collecting/printing the list of all packages in a given category
(e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given
category.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01 10:10:51 -08:00

56 lines
966 B
Plaintext

#
# DO NOT EDIT! This file is automatically generated.
#
choice GEN_CHOICE_@@dir|@@
bool "@@label@@"
#!foreach choice
config @@dir|@@_@@choice|@@
bool "@@choice@@"
#!foreach dependency
@@depline@@
#!end-foreach
help
#!foreach help
@@helpline@@
#!end-foreach
#!end-foreach
endchoice
config @@dir|@@
string
#!foreach choice
default "@@choice@@" if @@dir|@@_@@choice|@@
#!end-foreach
config @@dir|@@_CHOICE_KSYM
string
#!foreach choice
default "@@choice|@@" if @@dir|@@_@@choice|@@
#!end-foreach
#!foreach choice
config @@dir|@@_@@choice|@@_SHOW
bool
default y if @@dir|@@_@@choice|@@
if @@dir|@@_@@choice|@@_SHOW
comment "Options for @@choice@@"
config @@dir|@@_@@choice|@@_PKG_KSYM
string
default "@@pkg|@@"
#!if [ -n "@@pkg@@" ]
source "config/versions/@@pkg@@.in"
#!end-if
source "config/@@dir@@/@@choice@@.in"
endif
#!end-foreach
config ALL_@@dir|@@_CHOICES
string
default "@@*choice|@@"