Commit d3f2a958 authored by Bui Quang Minh's avatar Bui Quang Minh Committed by Paolo Abeni
Browse files

selftests: net: build net/lib dependency in all target



We have the logic to include net/lib automatically for net related
selftests. However, currently, this logic is only in install target
which means only `make install` will have net/lib included. This commit
adds the logic to all target so that all `make`, `make run_tests` and
`make install` will have net/lib included in net related selftests.

Signed-off-by: default avatarBui Quang Minh <minhquangbui99@gmail.com>
Link: https://patch.msgid.link/20250601142914.13379-1-minhquangbui99@gmail.com


Fixes: b86761ff ("selftests: net: add scaffolding for Netlink tests in Python")
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 982d30c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ export KHDR_INCLUDES

all:
	@ret=1;							\
	for TARGET in $(TARGETS); do				\
	for TARGET in $(TARGETS) $(INSTALL_DEP_TARGETS); do	\
		BUILD_TARGET=$$BUILD/$$TARGET;			\
		mkdir $$BUILD_TARGET  -p;			\
		$(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET	\