mirror of
https://github.com/torvalds/linux.git
synced 2026-01-12 00:42:35 +08:00
selftests/ublk: fix Makefile to rebuild on header changes
Add header dependencies to kublk build rule so that changes to kublk.h, ublk_dep.h, or utils.h trigger a rebuild. Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
@@ -51,10 +51,10 @@ TEST_PROGS += test_stress_07.sh
|
||||
|
||||
TEST_GEN_PROGS_EXTENDED = kublk
|
||||
|
||||
LOCAL_HDRS += $(wildcard *.h)
|
||||
include ../lib.mk
|
||||
|
||||
$(TEST_GEN_PROGS_EXTENDED): kublk.c null.c file_backed.c common.c stripe.c \
|
||||
fault_inject.c
|
||||
$(TEST_GEN_PROGS_EXTENDED): $(wildcard *.c)
|
||||
|
||||
check:
|
||||
shellcheck -x -f gcc *.sh
|
||||
|
||||
Reference in New Issue
Block a user