2 # (C) Copyright 2003-2007
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 include $(TOPDIR
)/config.mk
10 LIB
= $(obj
)lib
$(BOARD
).o
12 COBJS
:= $(BOARD
).o cmd_cm5200.o fwupdate.o
14 SRCS
:= $(SOBJS
:.o
=.S
) $(COBJS
:.o
=.c
)
15 OBJS
:= $(addprefix $(obj
),$(COBJS
))
16 SOBJS
:= $(addprefix $(obj
),$(SOBJS
))
18 $(LIB
): $(obj
).depend
$(OBJS
)
19 $(call cmd_link_o_target
, $(OBJS
))
21 #########################################################################
23 # defines $(obj).depend target
24 include $(SRCTREE
)/rules.mk
26 sinclude
$(obj
).depend
28 #########################################################################