summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada2017-12-09 17:02:28 +0100
committerMasahiro Yamada2017-12-16 03:12:53 +0100
commit73a4f6dbe70a1b93c11e2d1d6ca68f3522daf434 (patch)
treebf05c5756b1c12f583409b3b2528cf8d51ee430e /Makefile
parentkconfig: display recursive dependency resolution hint just once (diff)
downloadkernel-qcow2-linux-73a4f6dbe70a1b93c11e2d1d6ca68f3522daf434.tar.gz
kernel-qcow2-linux-73a4f6dbe70a1b93c11e2d1d6ca68f3522daf434.tar.xz
kernel-qcow2-linux-73a4f6dbe70a1b93c11e2d1d6ca68f3522daf434.zip
kbuild: add LEX and YACC variables
Allow users to use their favorite lexer / parser generators. This is useful for me to test various flex and bison versions. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c988e46a53cd..83209d697678 100644
--- a/Makefile
+++ b/Makefile
@@ -377,6 +377,8 @@ NM = $(CROSS_COMPILE)nm
STRIP = $(CROSS_COMPILE)strip
OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP = $(CROSS_COMPILE)objdump
+LEX = flex
+YACC = bison
AWK = awk
GENKSYMS = scripts/genksyms/genksyms
INSTALLKERNEL := installkernel
@@ -428,7 +430,7 @@ GCC_PLUGINS_CFLAGS :=
export ARCH SRCARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC
export CPP AR NM STRIP OBJCOPY OBJDUMP HOSTLDFLAGS HOST_LOADLIBES
-export MAKE AWK GENKSYMS INSTALLKERNEL PERL PYTHON UTS_MACHINE
+export MAKE LEX YACC AWK GENKSYMS INSTALLKERNEL PERL PYTHON UTS_MACHINE
export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS
export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS