projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60cf863
)
selftests/ublk: fix Makefile to rebuild on header changes
author
Ming Lei
<ming.lei@redhat.com>
Tue, 23 Dec 2025 03:27:42 +0000
(11:27 +0800)
committer
Jens Axboe
<axboe@kernel.dk>
Sun, 28 Dec 2025 16:25:26 +0000
(09:25 -0700)
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>
tools/testing/selftests/ublk/Makefile
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/ublk/Makefile
b/tools/testing/selftests/ublk/Makefile
index
eb0e6cf
..
06ba6fd
100644
(file)
--- a/
tools/testing/selftests/ublk/Makefile
+++ b/
tools/testing/selftests/ublk/Makefile
@@
-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