Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 0f57d86787d8b1076ea8f9cbdddda2a46d534a27 authored by Linus Torvalds on 15 June 2015, 01:51:10 UTC
Linux 4.1-rc8
Tip revision: 0f57d86
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)/keywords.hash.c $(obj)/parse.tab.h

clean-files	:= keywords.hash.c lex.lex.c parse.tab.c parse.tab.h
back to top