kconfig: split the lexer out of zconf.y
[carl9170fw.git] / config / zconf.y
index 4394ef915dcc8a3659c3be9e04014c1488d234dc..69409abc7dc29c9b4ea1e75fb24d4a89f14f2e65 100644 (file)
@@ -20,7 +20,6 @@
 
 int cdebug = PRINTD;
 
-int yylex(void);
 static void yyerror(const char *err);
 static void zconfprint(const char *err, ...);
 static void zconf_error(const char *err, ...);
@@ -497,7 +496,6 @@ void conf_parse(const char *name)
        zconf_initscan(name);
 
        _menu_init();
-       rootmenu.prompt = menu_add_prompt(P_MENU, "CARL9170 Firmware Configuration", NULL);
 
        if (getenv("ZCONF_DEBUG"))
                yydebug = 1;
@@ -730,10 +728,5 @@ void zconfdump(FILE *out)
        }
 }
 
-#include "zconf.lex.c"
 #include "util.c"
-#include "confdata.c"
-#include "expr.c"
-#include "symbol.c"
 #include "menu.c"
-#include "preprocess.c"