# SPDX-License-Identifier: GPL-2.0 hostprogs-always-y += genksyms genksyms-objs := genksyms.o parse.tab.o lex.lex.o # FIXME: fix the ambiguous grammar in parse.y and delete this hack # # Suppress shift/reduce, reduce/reduce conflicts warnings # unless W=1 is specified. # # Just in case, run "$(YACC) --version" without suppressing stderr # so that 'bison: not found' will be displayed if it is missing. ifeq ($(findstring 1,$(KBUILD_EXTRA_WARN)),) quiet_cmd_bison_no_warn = $(quiet_cmd_bison) cmd_bison_no_warn = $(YACC) --version >/dev/null; \ $(cmd_bison) 2>/dev/null $(obj)/pars%.tab.c $(obj)/pars%.tab.h: $(src)/pars%.y FORCE $(call if_changed,bison_no_warn) endif # -I needed for generated C source to include headers in source tree HOSTCFLAGS_parse.tab.o := -I $(srctree)/$(src) HOSTCFLAGS_lex.lex.o := -I $(srctree)/$(src) # dependencies on generated files need to be listed explicitly $(obj)/lex.lex.o: $(obj)/parse.tab.h
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.genksyms.cmd | File | 155 B | 0644 |
|
.genksyms.o.cmd | File | 647 B | 0644 |
|
.lex.lex.c.cmd | File | 145 B | 0644 |
|
.lex.lex.o.cmd | File | 721 B | 0644 |
|
.parse.tab.c.cmd | File | 235 B | 0644 |
|
.parse.tab.o.cmd | File | 625 B | 0644 |
|
Makefile | File | 951 B | 0644 |
|
genksyms | File | 63.63 KB | 0755 |
|
genksyms.c | File | 22.02 KB | 0644 |
|
genksyms.h | File | 2.05 KB | 0644 |
|
genksyms.o | File | 25.33 KB | 0644 |
|
keywords.c | File | 2.2 KB | 0644 |
|
lex.l | File | 8.26 KB | 0644 |
|
lex.lex.c | File | 56.33 KB | 0644 |
|
lex.lex.o | File | 37.03 KB | 0644 |
|
parse.tab.c | File | 73.71 KB | 0644 |
|
parse.tab.h | File | 3.2 KB | 0644 |
|
parse.tab.o | File | 29.38 KB | 0644 |
|
parse.y | File | 10.64 KB | 0644 |
|