tools: bpf: silence make by not deleting intermediate file
Even in quiet mode, make finishes with rm tools/bpf/bpf_exp.lex.c That's because it considers the file to be intermediate. Silence that by mentioning the lex.c file instead of the lex.o file; the dependency still stays. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
parent
a50b7f8c61
commit
ef8ba83b7c
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ $(OUTPUT)bpf_dbg: $(OUTPUT)bpf_dbg.o
|
||||||
$(OUTPUT)bpf_asm: $(OUTPUT)bpf_asm.o $(OUTPUT)bpf_exp.yacc.o $(OUTPUT)bpf_exp.lex.o
|
$(OUTPUT)bpf_asm: $(OUTPUT)bpf_asm.o $(OUTPUT)bpf_exp.yacc.o $(OUTPUT)bpf_exp.lex.o
|
||||||
$(QUIET_LINK)$(CC) $(CFLAGS) -o $@ $^
|
$(QUIET_LINK)$(CC) $(CFLAGS) -o $@ $^
|
||||||
|
|
||||||
$(OUTPUT)bpf_exp.lex.o: $(OUTPUT)bpf_exp.yacc.c
|
$(OUTPUT)bpf_exp.lex.c: $(OUTPUT)bpf_exp.yacc.c
|
||||||
|
|
||||||
clean: bpftool_clean
|
clean: bpftool_clean
|
||||||
$(call QUIET_CLEAN, bpf-progs)
|
$(call QUIET_CLEAN, bpf-progs)
|
||||||
|
|
Loading…
Add table
Reference in a new issue