[LTP] [PATCH v3 2/3] Split off executable code from bpf/bpf_common.h

Martin Doucha mdoucha@suse.cz
Tue Feb 18 09:44:19 CET 2020


On 2/18/20 9:15 AM, Li Wang wrote:
>     diff --git a/testcases/kernel/syscalls/bpf/Makefile
>     b/testcases/kernel/syscalls/bpf/Makefile
>     index 990c8c83c..2241bce9b 100644
>     --- a/testcases/kernel/syscalls/bpf/Makefile
>     +++ b/testcases/kernel/syscalls/bpf/Makefile
>     @@ -5,6 +5,9 @@ top_srcdir              ?= ../../../..
> 
>      include $(top_srcdir)/include/mk/testcases.mk <http://testcases.mk>
> 
>     +FILTER_OUT_MAKE_TARGETS        := bpf_common
>      CFLAGS                 += -D_GNU_SOURCE
> 
>      include $(top_srcdir)/include/mk/generic_leaf_target.mk
>     <http://generic_leaf_target.mk>
>     +
>     +$(MAKE_TARGETS): %: %.o bpf_common.o
> 
> 
> May I ask why we need to reserve these *.o binary files in the compiling?

Sorry, I don't understand the question.

-- 
Martin Doucha   mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list