2 # SPDX-License-Identifier: GPL-2.0+
5 include $(TOPDIR
)/config.mk
7 LIB
= $(obj
)lib
$(SOC
).o
9 COBJS
+= aemif.o clock.o init.o mux.o timer.o
10 SOBJS
+= lowlevel_init.o
12 SRCS
:= $(START
:.o
=.S
) $(SOBJS
:.o
=.S
) $(COBJS
:.o
=.c
)
14 OBJS
:= $(addprefix $(obj
),$(COBJS
) $(SOBJS
))
15 START
:= $(addprefix $(obj
),$(START
))
17 all: $(obj
).depend
$(LIB
)
20 $(call cmd_link_o_target
, $(OBJS
))
22 #########################################################################
24 # defines $(obj).depend target
25 include $(SRCTREE
)/rules.mk
27 sinclude
$(obj
).depend
29 #########################################################################