aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig_parser/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-04-10 12:40:44 +0200
committerKarel Kočí <cynerd@email.cz>2015-04-10 12:40:44 +0200
commit336ffd327ce0d09250d03eb4c7e10c4ae3fd0abe (patch)
treeb6e17014b1ba0c1446be9261dd2c3770115f0173 /scripts/kconfig_parser/Makefile
parent16cb2b0e168af7a08fc06fce1f95e94fdeaa9c15 (diff)
downloadlinux-conf-perf-336ffd327ce0d09250d03eb4c7e10c4ae3fd0abe.tar.gz
linux-conf-perf-336ffd327ce0d09250d03eb4c7e10c4ae3fd0abe.tar.bz2
linux-conf-perf-336ffd327ce0d09250d03eb4c7e10c4ae3fd0abe.zip
Simplify kconfig_parser Makefile
Diffstat (limited to 'scripts/kconfig_parser/Makefile')
-rw-r--r--scripts/kconfig_parser/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/kconfig_parser/Makefile b/scripts/kconfig_parser/Makefile
index a853f47..68fbb93 100644
--- a/scripts/kconfig_parser/Makefile
+++ b/scripts/kconfig_parser/Makefile
@@ -1,14 +1,14 @@
.SUFFIXES:
-KCPARSER_INFILES = parser.c \
+SRC = parser.c \
cnfexpr.c \
symlist.c \
output.c
-KCPARSER_INFILES += kconfig/zconf.tab.c
-KCPARSER_CFLAGS = -O0 -w -ggdb
+SRC += kconfig/zconf.tab.c
+CFLAGS = -O0 -w -ggdb
-parser: $(KCPARSER_INFILES) kconfig/zconf.lex.c kconfig/zconf.hash.c
- gcc $(KCPARSER_CFLAGS) -o $@ $(KCPARSER_INFILES)
+parser: $(SRC) kconfig/zconf.lex.c kconfig/zconf.hash.c
+ gcc $(CFLAGS) -o $@ $(SRC)
%.hash.c: %.gperf
gperf -t --output-file $@ -a -C -E -g -k '1,3,$$' -p -t $<