aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-04-11 13:44:31 +0200
committerKarel Kočí <cynerd@email.cz>2015-04-11 13:44:31 +0200
commit745b4e28338ae1564c8e3fb2cc821723ab9752db (patch)
treedd286a70439d86458795dda3b67c9af2fc974b67
parent1f670483bff9e7a588fe90a7ec98b8950c1c13de (diff)
downloadlinux-conf-perf-745b4e28338ae1564c8e3fb2cc821723ab9752db.tar.gz
linux-conf-perf-745b4e28338ae1564c8e3fb2cc821723ab9752db.tar.bz2
linux-conf-perf-745b4e28338ae1564c8e3fb2cc821723ab9752db.zip
macros.h moved to shared folder
-rw-r--r--scripts/parse_kconfig/Makefile2
-rw-r--r--scripts/parse_kconfig/cnfexpr.h2
-rw-r--r--scripts/parse_kconfig/parser.c2
-rw-r--r--scripts/shared/macros.h (renamed from scripts/parse_kconfig/macros.h)0
4 files changed, 3 insertions, 3 deletions
diff --git a/scripts/parse_kconfig/Makefile b/scripts/parse_kconfig/Makefile
index 2988482..8547617 100644
--- a/scripts/parse_kconfig/Makefile
+++ b/scripts/parse_kconfig/Makefile
@@ -13,7 +13,7 @@ SRC = parser.c \
CFLAGS = -O0 -w -ggdb
parse: $(SRC) $(KCONFIG_SRC)
- gcc $(CFLAGS) -o $@ $^ -I$(KCONFIG_PREFIX)
+ gcc $(CFLAGS) -o $@ $^ -I../shared
clean::
$(RM) parser
diff --git a/scripts/parse_kconfig/cnfexpr.h b/scripts/parse_kconfig/cnfexpr.h
index 1d0edd4..0473368 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 "lkc.h"
+#include "kconfig/lkc.h"
enum cnfexpr_type {
CT_EXPR, CT_FALSE, CT_TRUE
diff --git a/scripts/parse_kconfig/parser.c b/scripts/parse_kconfig/parser.c
index 933c26c..6c1c47e 100644
--- a/scripts/parse_kconfig/parser.c
+++ b/scripts/parse_kconfig/parser.c
@@ -11,7 +11,7 @@
#include <locale.h>
#include <stdbool.h>
#include <argp.h>
-#include "lkc.h"
+#include "kconfig/lkc.h"
#include "symlist.h"
#include "output.h"
#include "macros.h"
diff --git a/scripts/parse_kconfig/macros.h b/scripts/shared/macros.h
index 95bb16f..95bb16f 100644
--- a/scripts/parse_kconfig/macros.h
+++ b/scripts/shared/macros.h