X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=test%2FMakefile;h=6305afb21196859f9c0a65b09c3c0873bd0e6644;hb=8d3a25685e4aac7070365a2b3c53c2c81b27930f;hp=99ce890e596f9b9970c62546ec402b4f582eeeed;hpb=aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c;p=platform%2Fkernel%2Fu-boot.git diff --git a/test/Makefile b/test/Makefile index 99ce890..6305afb 100644 --- a/test/Makefile +++ b/test/Makefile @@ -4,26 +4,9 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)libtest.o - -COBJS-$(CONFIG_SANDBOX) += command_ut.o - -COBJS := $(sort $(COBJS-y)) -SRCS := $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS)) - -all: $(LIB) $(XOBJS) - -$(LIB): $(obj).depend $(OBJS) - $(call cmd_link_o_target, $(OBJS)) - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +obj-$(CONFIG_UNIT_TEST) += cmd_ut.o +obj-$(CONFIG_UNIT_TEST) += ut.o +obj-$(CONFIG_SANDBOX) += command_ut.o +obj-$(CONFIG_SANDBOX) += compression.o +obj-$(CONFIG_SANDBOX) += print_ut.o +obj-$(CONFIG_UT_TIME) += time_ut.o