From: Jiri Benc Date: Thu, 8 Mar 2018 22:00:41 +0000 (+0100) Subject: tools: bpf: silence make by not deleting intermediate file X-Git-Tag: v4.19~1326^2~156^2~5^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef8ba83b7cf6c530fbb2c83cf87f9755b8424a84;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Daniel Borkmann --- diff --git a/tools/bpf/Makefile b/tools/bpf/Makefile index 757ea22..c07b4e7 100644 --- a/tools/bpf/Makefile +++ b/tools/bpf/Makefile @@ -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 $(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 $(call QUIET_CLEAN, bpf-progs)