blob: a5510903e874a35a5cbb238e1eb50a7b82746fd6 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001
2hostprogs-y := genksyms
3always := $(hostprogs-y)
4
Arnaud Lacombe880f4492011-05-23 00:05:28 -04005genksyms-objs := genksyms.o parse.tab.o lex.lex.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
7# -I needed for generated C source (shipped source)
Arnaud Lacombe6b19e7e2011-06-07 18:09:02 -04008HOSTCFLAGS_parse.tab.o := -I$(src)
Arnaud Lacombe880f4492011-05-23 00:05:28 -04009HOSTCFLAGS_lex.lex.o := -I$(src)
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
11# dependencies on generated files need to be listed explicitly
Arnaud Lacombe880f4492011-05-23 00:05:28 -040012$(obj)/lex.lex.o: $(obj)/keywords.hash.c $(obj)/parse.tab.h
Linus Torvalds1da177e2005-04-16 15:20:36 -070013