aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/parse_kconfig/cnfexpr.h2
-rw-r--r--scripts/parse_kconfig/output.h4
-rw-r--r--scripts/parse_kconfig/parser.c2
-rw-r--r--scripts/shared/build_files.h3
4 files changed, 6 insertions, 5 deletions
diff --git a/scripts/parse_kconfig/cnfexpr.h b/scripts/parse_kconfig/cnfexpr.h
index 0473368..58ac9c8 100644
--- a/scripts/parse_kconfig/cnfexpr.h
+++ b/scripts/parse_kconfig/cnfexpr.h
@@ -5,7 +5,7 @@
#include <stdbool.h>
#include <stdio.h>
#include "symlist.h"
-#include "kconfig/lkc.h"
+#include <kconfig/lkc.h>
enum cnfexpr_type {
CT_EXPR, CT_FALSE, CT_TRUE
diff --git a/scripts/parse_kconfig/output.h b/scripts/parse_kconfig/output.h
index b38c0bc..dd70768 100644
--- a/scripts/parse_kconfig/output.h
+++ b/scripts/parse_kconfig/output.h
@@ -4,9 +4,7 @@
#include <stdlib.h>
#include <stdio.h>
#include "symlist.h"
-
-#define DEFAULT_RULES_FILE "rules"
-#define DEFAULT_SYMBOL_MAP_FILE "symbol_map"
+#include <build_files.h>
void fprint_rules(struct symlist *sl, char *output);
void fprint_symbol_map(struct symlist *sl, char *output);
diff --git a/scripts/parse_kconfig/parser.c b/scripts/parse_kconfig/parser.c
index 3dde8e4..7d6bf3f 100644
--- a/scripts/parse_kconfig/parser.c
+++ b/scripts/parse_kconfig/parser.c
@@ -4,7 +4,7 @@
#include <locale.h>
#include <stdbool.h>
#include <libintl.h>
-#include "kconfig/lkc.h"
+#include <kconfig/lkc.h>
#include "symlist.h"
#include "output.h"
#include "macros.h"
diff --git a/scripts/shared/build_files.h b/scripts/shared/build_files.h
new file mode 100644
index 0000000..92ee17e
--- /dev/null
+++ b/scripts/shared/build_files.h
@@ -0,0 +1,3 @@
+#define DEFAULT_RULES_FILE "rules"
+#define DEFAULT_SYMBOL_MAP_FILE "symbol_map"
+#define DEFAULT_DEF_CONFIG_FILE "def_config"