Skip to content

Commit d3f2a95

Browse files
minhbq-99Paolo Abeni
authored andcommitted
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: Bui Quang Minh <[email protected]> Link: https://patch.msgid.link/[email protected] Fixes: b86761f ("selftests: net: add scaffolding for Netlink tests in Python") Signed-off-by: Paolo Abeni <[email protected]>
1 parent 982d30c commit d3f2a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export KHDR_INCLUDES
205205

206206
all:
207207
@ret=1; \
208-
for TARGET in $(TARGETS); do \
208+
for TARGET in $(TARGETS) $(INSTALL_DEP_TARGETS); do \
209209
BUILD_TARGET=$$BUILD/$$TARGET; \
210210
mkdir $$BUILD_TARGET -p; \
211211
$(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET \

0 commit comments

Comments
 (0)