diff options
Diffstat (limited to 'board/samsung/origen')
-rw-r--r-- | board/samsung/origen/Makefile | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/board/samsung/origen/Makefile b/board/samsung/origen/Makefile index 0b1ae1b..e8818bf 100644 --- a/board/samsung/origen/Makefile +++ b/board/samsung/origen/Makefile @@ -4,38 +4,16 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(BOARD).o - ifndef CONFIG_SPL_BUILD -COBJS += origen.o +obj-y += origen.o endif -SRCS := $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS)) - -ALL +=$(obj).depend $(LIB) - ifdef CONFIG_SPL_BUILD -ALL += $(OBJTREE)/tools/mk$(BOARD)spl +all: $(OBJTREE)/tools/mk$(BOARD)spl endif -all: $(ALL) - -$(LIB): $(OBJS) - $(call cmd_link_o_target, $(OBJS)) - +# Fix ME after we implement hostprogs-y. ifdef CONFIG_SPL_BUILD $(OBJTREE)/tools/mk$(BOARD)spl: tools/mkv310_image.c $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl endif - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### |