mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:24:47 +01:00
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>
60 lines
1.5 KiB
Makefile
60 lines
1.5 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
CFLAGS += -O3 -Wl,-no-as-needed -Wall -I $(top_srcdir)/usr/include
|
|
ifneq ($(WERROR),0)
|
|
CFLAGS += -Werror
|
|
endif
|
|
|
|
LDLIBS += -lpthread -lm -luring
|
|
|
|
TEST_PROGS := test_generic_01.sh
|
|
TEST_PROGS += test_generic_02.sh
|
|
TEST_PROGS += test_generic_03.sh
|
|
TEST_PROGS += test_generic_04.sh
|
|
TEST_PROGS += test_generic_05.sh
|
|
TEST_PROGS += test_generic_06.sh
|
|
TEST_PROGS += test_generic_07.sh
|
|
|
|
TEST_PROGS += test_generic_08.sh
|
|
TEST_PROGS += test_generic_09.sh
|
|
TEST_PROGS += test_generic_10.sh
|
|
TEST_PROGS += test_generic_11.sh
|
|
TEST_PROGS += test_generic_12.sh
|
|
TEST_PROGS += test_generic_13.sh
|
|
TEST_PROGS += test_generic_14.sh
|
|
TEST_PROGS += test_generic_15.sh
|
|
|
|
TEST_PROGS += test_null_01.sh
|
|
TEST_PROGS += test_null_02.sh
|
|
TEST_PROGS += test_null_03.sh
|
|
TEST_PROGS += test_loop_01.sh
|
|
TEST_PROGS += test_loop_02.sh
|
|
TEST_PROGS += test_loop_03.sh
|
|
TEST_PROGS += test_loop_04.sh
|
|
TEST_PROGS += test_loop_05.sh
|
|
TEST_PROGS += test_loop_06.sh
|
|
TEST_PROGS += test_loop_07.sh
|
|
TEST_PROGS += test_stripe_01.sh
|
|
TEST_PROGS += test_stripe_02.sh
|
|
TEST_PROGS += test_stripe_03.sh
|
|
TEST_PROGS += test_stripe_04.sh
|
|
TEST_PROGS += test_stripe_05.sh
|
|
TEST_PROGS += test_stripe_06.sh
|
|
|
|
TEST_PROGS += test_stress_01.sh
|
|
TEST_PROGS += test_stress_02.sh
|
|
TEST_PROGS += test_stress_03.sh
|
|
TEST_PROGS += test_stress_04.sh
|
|
TEST_PROGS += test_stress_05.sh
|
|
TEST_PROGS += test_stress_06.sh
|
|
TEST_PROGS += test_stress_07.sh
|
|
|
|
TEST_GEN_PROGS_EXTENDED = kublk
|
|
|
|
LOCAL_HDRS += $(wildcard *.h)
|
|
include ../lib.mk
|
|
|
|
$(TEST_GEN_PROGS_EXTENDED): $(wildcard *.c)
|
|
|
|
check:
|
|
shellcheck -x -f gcc *.sh
|