Thread (6 messages) 6 messages, 3 authors, 2025-05-29

Re: [PATCH net] selftests: net: build net/lib dependency in all target

From: Bui Quang Minh <hidden>
Date: 2025-05-29 11:04:23
Also in: linux-kselftest, lkml

On 5/29/25 17:32, Simon Horman wrote:
On Thu, May 29, 2025 at 02:05:36PM +0700, Bui Quang Minh wrote:
quoted
Currently, we only build net/lib dependency in install target. This
commit moves that to all target so that net/lib is included in in-tree
build and run_tests.
Hi,

The above describes what is being done.
I think it would be good to also describe why.
Hi,

Currently, when building net related selftests, we need to

     make install

so that the net/lib is compiled. In case we do

     make

or

     make run_tests

the net/lib is not compiled. So I move the INSTALL_DEP_TARGETS which is 
net/lib if the selftests is net related to all. As a result, all 
make/make install/make run_tests will have the net/lib compiled.

Thanks,
Quang Minh.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help