diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-21 09:33:04 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-28 14:22:38 +0100 |
commit | 558e78e3ce844c61ceffe32775dbefacf167b023 (patch) | |
tree | b0e4f2bbbfabb939be8847dc51197fe62e4c3cc2 /scripts/kconfig/preprocess.c | |
parent | kconfig: convert to SPDX License Identifier (diff) | |
download | linux-558e78e3ce844c61ceffe32775dbefacf167b023.tar.xz linux-558e78e3ce844c61ceffe32775dbefacf167b023.zip |
kconfig: split some C files out of zconf.y
I want to compile each C file independently instead of including all
of them from zconf.y.
Split out confdata.c, expr.c, symbol.c, and preprocess.c .
These are low-hanging fruits.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/kconfig/preprocess.c')
-rw-r--r-- | scripts/kconfig/preprocess.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/preprocess.c b/scripts/kconfig/preprocess.c index b028a48b0e76..592dfbfa9fb3 100644 --- a/scripts/kconfig/preprocess.c +++ b/scripts/kconfig/preprocess.c @@ -2,6 +2,7 @@ // // Copyright (C) 2018 Masahiro Yamada <yamada.masahiro@socionext.com> +#include <ctype.h> #include <stdarg.h> #include <stdbool.h> #include <stdio.h> @@ -9,6 +10,7 @@ #include <string.h> #include "list.h" +#include "lkc.h" #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) |