X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=test%2FMakefile;h=9c95805c44e06e2f8230635adc0773033ef6b70f;hb=affe026928db2f1579261ca3b80fe28b6b9f3765;hp=a68613df729c34dd72211122f12993743575d293;hpb=bc23d96b75fb9c494390c8af02c473c4f11f7719;p=karo-tx-uboot.git diff --git a/test/Makefile b/test/Makefile index a68613df72..9c95805c44 100644 --- a/test/Makefile +++ b/test/Makefile @@ -4,27 +4,5 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)libtest.o - -COBJS-$(CONFIG_SANDBOX) += command_ut.o -COBJS-$(CONFIG_SANDBOX) += compression.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_SANDBOX) += command_ut.o +obj-$(CONFIG_SANDBOX) += compression.o