TERES/SOFTWARE/A64-TERES/u-boot_new/sunxi_spl/boot0/main/Makefile
Dimitar Gamishev 093685c7d8 u-boot
2017-10-13 14:02:55 +03:00

39 lines
723 B
Makefile
Executable File

##
## Makefile for Sunxi Secure Boot
##
include $(SPLDIR)/config.mk
LIB := $(obj)libmain.o
HEAD := boot0_head.o
DATA := boot0_hash.o
START := boot0_entry.o
COBJS += boot0_main.o
SRCS := $(START:.o=.S) $(COBJS:.o=.c) $(HEAD:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS) $(COBJS-y) $(SOBJS))
HEAD := $(addprefix $(obj),$(HEAD))
START := $(addprefix $(obj),$(START))
all: $(obj).depend $(HEAD) $(START) $(LIB) $(DATA)
$(LIB): $(OBJS)
$(call cmd_link_o_target, $(OBJS))
#########################################################################
# defines $(obj).depend target
include $(SRCTREE)/rules.mk
sinclude $(obj).depend
#########################################################################