diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-04-13 17:08:17 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-04-14 08:26:09 +0200 |
commit | a77a05dc9cf24a8c88b9d9c70e8984f936d075f3 (patch) | |
tree | 1f5bd384aa5e1c7b946fd2d645c0408c713a95e9 /scripts/kconfig/parser.y | |
parent | kconfig: nconf: refactor in print_in_middle() (diff) | |
download | linux-a77a05dc9cf24a8c88b9d9c70e8984f936d075f3.tar.xz linux-a77a05dc9cf24a8c88b9d9c70e8984f936d075f3.zip |
kconfig: split menu.c out of parser.y
Compile menu.c as an independent compilation unit.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/parser.y')
-rw-r--r-- | scripts/kconfig/parser.y | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/kconfig/parser.y b/scripts/kconfig/parser.y index e90889edf5b3..2af7ce4e1531 100644 --- a/scripts/kconfig/parser.y +++ b/scripts/kconfig/parser.y @@ -12,6 +12,7 @@ #include <stdbool.h> #include "lkc.h" +#include "internal.h" #define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt) @@ -28,7 +29,7 @@ static bool zconf_endtoken(const char *tokenname, struct symbol *symbol_hash[SYMBOL_HASHSIZE]; -static struct menu *current_menu, *current_entry; +struct menu *current_menu, *current_entry; %} @@ -713,5 +714,3 @@ void zconfdump(FILE *out) } } } - -#include "menu.c" |