From 40d5bf64408a0e103f8149f941ea50fbbb11dc91 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Fri, 23 Nov 2018 22:14:07 -0800 Subject: 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 --- maintainer/kconfig-choice.template | 11 ++++++++++- maintainer/kconfig-menu.template | 4 ++++ 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'maintainer') diff --git a/maintainer/kconfig-choice.template b/maintainer/kconfig-choice.template index affaf65d..bd0c4744 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 3e32e16c..4892435d 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|@@" -- cgit v1.2.3