[PATCH 04/19] test: don't test for CONFIG_UNIT_TEST twice
Ilias Apalodimas
ilias.apalodimas at linaro.org
Tue Dec 2 13:39:36 CET 2025
On Mon, 24 Nov 2025 at 00:58, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Makefile already checks CONFIG_UNIT_TEST.
> There is point in checking it in test/Makefile again.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> ---
> test/Makefile | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/test/Makefile b/test/Makefile
> index f7ab9a36b2a..5676bd35963 100644
> --- a/test/Makefile
> +++ b/test/Makefile
> @@ -9,7 +9,7 @@ obj-$(CONFIG_$(PHASE_)CMDLINE) += cmd_ut.o
> obj-y += dm/
> obj-$(CONFIG_FUZZ) += fuzz/
> ifndef CONFIG_SANDBOX_VPL
> -obj-$(CONFIG_UNIT_TEST) += lib/
> +obj-y += lib/
> endif
> ifneq ($(CONFIG_HUSH_PARSER),)
> obj-$(CONFIG_$(PHASE_)CMDLINE) += hush/
> @@ -19,7 +19,7 @@ obj-y += ut.o
>
> ifeq ($(CONFIG_XPL_BUILD),)
> obj-y += boot/
> -obj-$(CONFIG_UNIT_TEST) += common/
> +obj-y += common/
> obj-$(CONFIG_UT_ENV) += env/
> obj-$(CONFIG_UT_FDT_OVERLAY) += fdt_overlay/
> obj-y += log/
> --
> 2.51.0
>
More information about the U-Boot
mailing list