forked from Minki/linux
bb3290d916
It turns out that gperf-3.1 changed types in the generated code in ways that aren't even trivially detectable without having to generate a test-file. It's just not worth using tools and libraries from clowns that don't understand or care about compatibility. So get rid of gperf. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
15 lines
374 B
Makefile
15 lines
374 B
Makefile
|
|
hostprogs-y := genksyms
|
|
always := $(hostprogs-y)
|
|
|
|
genksyms-objs := genksyms.o parse.tab.o lex.lex.o
|
|
|
|
# -I needed for generated C source (shipped source)
|
|
HOSTCFLAGS_parse.tab.o := -I$(src)
|
|
HOSTCFLAGS_lex.lex.o := -I$(src)
|
|
|
|
# dependencies on generated files need to be listed explicitly
|
|
$(obj)/lex.lex.o: $(obj)/parse.tab.h
|
|
|
|
clean-files := lex.lex.c parse.tab.c parse.tab.h
|