Skip to content

Commit 253a21c

Browse files
rbmarliereKernel Patches Daemon
authored andcommitted
selftests/bpf: Install test modules into $INSTALL_PATH
The tests expect the modules to be in the same working directory, but when using a different $INSTALL_PATH they are not copied over. Signed-off-by: Ricardo B. Marlière <[email protected]>
1 parent 4bae2d4 commit 253a21c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/testing/selftests/bpf/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,5 +877,7 @@ override define INSTALL_RULE
877877
@for DIR in $(TEST_INST_SUBDIRS); do \
878878
mkdir -p $(INSTALL_PATH)/$$DIR; \
879879
rsync -a $(OUTPUT)/$$DIR/*.bpf.o $(INSTALL_PATH)/$$DIR;\
880+
rsync -a $(OUTPUT)/$$DIR/*.ko $(INSTALL_PATH)/$$DIR;\
881+
rsync -a $(OUTPUT)/*.ko $(INSTALL_PATH);\
880882
done
881883
endef

0 commit comments

Comments
 (0)