Skip to content

Commit e0831de

Browse files
committed
build-selftests: check for SELFTESTS_BPF_TARGETS
Make it possible to control make targets in build-selftests actions by checkign for SELFTESTS_BPF_TARGETS environment variable. Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
1 parent a391b7f commit e0831de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-selftests/build_selftests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ EOF
5050
)
5151
make ${MAKE_OPTS} -C ${KERNEL_ROOT} headers
5252
make ${MAKE_OPTS} ${SELF_OPTS} clean
53-
make ${MAKE_OPTS} ${SELF_OPTS} -j $(kernel_build_make_jobs)
53+
make ${MAKE_OPTS} ${SELF_OPTS} -j $(kernel_build_make_jobs) ${SELFTESTS_BPF_TARGETS:-}
5454

5555
foldable end build_selftests

0 commit comments

Comments
 (0)