Skip to content

Commit

Permalink
mk: don't generate empty skel file
Browse files Browse the repository at this point in the history
Signed-off-by: Menglong Dong <[email protected]>
  • Loading branch information
menglongdong committed Oct 17, 2023
1 parent cea53aa commit 74069e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ progs/%.o: progs/%.c $(BPF_EXTRA_DEP)
@file $@ | grep eBPF > /dev/null || (rm $@ && exit 1)

%.skel.h: %.o
$(BPFTOOL) gen skeleton $< > $@
$(BPFTOOL) gen skeleton $< > $@ || (rm -r $@ && exit 1)

$(bpf_progs): %: %.skel.h
@:
Expand Down

0 comments on commit 74069e1

Please sign in to comment.