X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=test%2FMakefile;h=0f5de5739908f07976ba2328bd944726e08ac7b2;hb=adc6b2863e49c6140932d4d8f36ee2cacc157728;hp=83594f3290c25a5c8a7e763302e54396f03d759f;hpb=a72007d999d3528b6176ffacff1841cb2032a7c1;p=oweals%2Fu-boot.git diff --git a/test/Makefile b/test/Makefile index 83594f3290..0f5de57399 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,45 +1,11 @@ # # (C) Copyright 2012 The Chromium Authors # -# See file CREDITS for list of people who contributed to this -# project. +# SPDX-License-Identifier: GPL-2.0+ # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -# MA 02111-1307 USA -# - -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_UT_TIME) += time_ut.o