diff options
author | Michal Marek <mmarek@suse.cz> | 2011-01-20 15:23:08 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 15:13:55 +0100 |
commit | 9c281f13b68da49764cbc8d7d610c2f229a0f9a0 (patch) | |
tree | 9e3ae5ace293888dd2fa0331186f1acc3e94e57a /scripts/genksyms/Makefile | |
parent | Linux 2.6.38-rc1 (diff) | |
download | linux-9c281f13b68da49764cbc8d7d610c2f229a0f9a0.tar.xz linux-9c281f13b68da49764cbc8d7d610c2f229a0f9a0.zip |
genksyms: Do not paste the bison header file to lex.c
The header is already #included, no need to include it a second time.
lex.c_shipped was regenerated using flex-2.5.35.
Signed-off-by: Michal Marek <mmarek@suse.cz>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/genksyms/Makefile')
-rw-r--r-- | scripts/genksyms/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/genksyms/Makefile b/scripts/genksyms/Makefile index e420fe440019..13d03cf05d95 100644 --- a/scripts/genksyms/Makefile +++ b/scripts/genksyms/Makefile @@ -28,9 +28,9 @@ $(obj)/keywords.c: $(obj)/keywords.gperf FORCE # flex quiet_cmd_lex.c = FLEX $@ - cmd_lex.c = flex -o$@ -d $< $(obj)/parse.h + cmd_lex.c = flex -o$@ -d $< -$(obj)/lex.c: $(obj)/lex.l $(obj)/parse.h $(obj)/keywords.c FORCE +$(obj)/lex.c: $(obj)/lex.l $(obj)/keywords.c FORCE $(call if_changed,lex.c) cp $@ $@_shipped |