summaryrefslogtreecommitdiff
path: root/maintainer
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-11-24 06:14:07 (GMT)
committerAlexey Neyman <stilor@att.net>2018-12-01 18:10:51 (GMT)
commit40d5bf64408a0e103f8149f941ea50fbbb11dc91 (patch)
tree67532a4e3a2498ab5663bb400649ec847ced6ba7 /maintainer
parent172308cb1be5b23c816c19d0b9c84ba4910cbe80 (diff)
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>
Diffstat (limited to 'maintainer')
-rw-r--r--maintainer/kconfig-choice.template11
-rw-r--r--maintainer/kconfig-menu.template4
2 files changed, 14 insertions, 1 deletions
diff --git a/maintainer/kconfig-choice.template b/maintainer/kconfig-choice.template
index affaf65..bd0c474 100644
--- a/maintainer/kconfig-choice.template
+++ b/maintainer/kconfig-choice.template
@@ -32,7 +32,12 @@ config @@dir|@@_CHOICE_KSYM
#!end-foreach
#!foreach choice
-if @@dir|@@_@@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|@@"
@@ -44,3 +49,7 @@ source "config/@@dir@@/@@choice@@.in"
endif
#!end-foreach
+
+config ALL_@@dir|@@_CHOICES
+ string
+ default "@@*choice|@@"
diff --git a/maintainer/kconfig-menu.template b/maintainer/kconfig-menu.template
index 3e32e16..4892435 100644
--- a/maintainer/kconfig-menu.template
+++ b/maintainer/kconfig-menu.template
@@ -25,3 +25,7 @@ source "config/@@dir@@/@@choice@@.in"
endif
#!end-foreach
+
+config ALL_@@dir|@@_CHOICES
+ string
+ default "@@*choice|@@"