[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8734iirane.wl-tiwai@suse.de>
Date: Fri, 20 Dec 2024 10:01:09 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Li Zhijian <lizhijian@...itsu.com>
Cc: linux-kselftest@...r.kernel.org,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Shuah Khan <shuah@...nel.org>,
linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH for-next] selftests/alsa: Fix circular dependency involving global-timer
On Wed, 18 Dec 2024 03:59:31 +0100,
Li Zhijian wrote:
>
> 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@...nel.org>
> Cc: Jaroslav Kysela <perex@...ex.cz>
> Cc: Takashi Iwai <tiwai@...e.com>
> Cc: Shuah Khan <shuah@...nel.org>
> Signed-off-by: Li Zhijian <lizhijian@...itsu.com>
Applied now. Thanks.
Takashi
Powered by blists - more mailing lists