2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/tools/testing/selftests/alsa
Li Zhijian 55853cb829 selftests/alsa: Fix circular dependency involving global-timer
The pattern rule `$(OUTPUT)/%: %.c` inadvertently included a circular
dependency on the global-timer target due to its inclusion in
$(TEST_GEN_PROGS_EXTENDED). This resulted in a circular dependency
warning during the build process.

To resolve this, the dependency on $(TEST_GEN_PROGS_EXTENDED) has been
replaced with an explicit dependency on $(OUTPUT)/libatest.so. This change
ensures that libatest.so is built before any other targets that require it,
without creating a circular dependency.

This fix addresses the following warning:

make[4]: Entering directory 'tools/testing/selftests/alsa'
make[4]: Circular default_modconfig/kselftest/alsa/global-timer <- default_modconfig/kselftest/alsa/global-timer dependency dropped.
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory 'tools/testing/selftests/alsa'

Cc: Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Link: https://patch.msgid.link/20241218025931.914164-1-lizhijian@fujitsu.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2024-12-20 10:00:41 +01:00
..
conf.d kselftest/alsa: pcm - move more configuration to configuration files 2023-01-02 15:07:35 +01:00
.gitignore selftests/alsa: Add a few missing gitignore files 2024-11-24 10:31:13 +01:00
alsa-local.h kselftest/alsa: pcm-test: Report cards declared in config but missing 2023-09-20 18:10:50 +02:00
conf.c selftests/alsa: make dump_config_tree() as void function 2024-05-08 18:15:42 +02:00
global-timer.c selftests: ALSA: Cover userspace-driven timers with test 2024-08-18 09:55:55 +02:00
Makefile selftests/alsa: Fix circular dependency involving global-timer 2024-12-20 10:00:41 +01:00
mixer-test.c kselftest/alsa: Use card name rather than number in test names 2024-07-18 16:47:34 +02:00
pcm-test.c kselftest/alsa: Log the PCM ID in pcm-test 2024-07-18 16:48:44 +02:00
pcm-test.conf kselftest/alsa: pcm - Add more coverage by default 2023-01-02 15:08:24 +01:00
test-pcmtest-driver.c selftests: avoid using SKIP(exit()) in harness fixure setup 2024-03-05 19:25:36 -08:00
utimer-test.c selftests: ALSA: Cover userspace-driven timers with test 2024-08-18 09:55:55 +02:00