]>
Commit | Line | Data |
---|---|---|
e5841e12 LP |
1 | # |
2 | # (C) Copyright 2009 | |
3 | # Marvell Semiconductor <www.marvell.com> | |
4 | # Written-by: Prafulla Wadaskar <prafulla@marvell.com> | |
5 | # | |
1a459660 | 6 | # SPDX-License-Identifier: GPL-2.0+ |
e5841e12 LP |
7 | # |
8 | ||
9 | include $(TOPDIR)/config.mk | |
10 | ||
11 | LIB = $(obj)lib$(BOARD).o | |
12 | ||
13 | COBJS := ib62x0.o | |
14 | ||
15 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) | |
16 | OBJS := $(addprefix $(obj),$(COBJS)) | |
17 | SOBJS := $(addprefix $(obj),$(SOBJS)) | |
18 | ||
19 | $(LIB): $(obj).depend $(OBJS) $(SOBJS) | |
20 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) | |
21 | ||
22 | ######################################################################### | |
23 | ||
24 | # defines $(obj).depend target | |
25 | include $(SRCTREE)/rules.mk | |
26 | ||
27 | sinclude $(obj).depend | |
28 | ||
29 | ######################################################################### |