On Mon, 24 Nov 2025 at 00:58, Heinrich Schuchardt <[email protected]> wrote: > > Makefile already checks CONFIG_UNIT_TEST. > There is point in checking it in test/Makefile again. > > Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]> > --- > 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 >

