]>
Commit | Line | Data |
---|---|---|
d34efc76 SS |
1 | # |
2 | # (C) Copyright 2000-2010 | |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | # | |
1a459660 | 5 | # SPDX-License-Identifier: GPL-2.0+ |
d34efc76 SS |
6 | # |
7 | ||
8 | include $(TOPDIR)/config.mk | |
9 | ||
6d8962e8 | 10 | LIB = $(obj)lib$(SOC).o |
d34efc76 | 11 | |
2ae610f0 | 12 | COBJS += sdram_elpida.o |
508a58fa | 13 | COBJS += hwinit.o |
bb772a59 | 14 | COBJS += emif.o |
01b753ff S |
15 | COBJS += prcm-regs.o |
16 | COBJS += hw_data.o | |
d34efc76 SS |
17 | |
18 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) | |
19 | OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) | |
20 | ||
21 | all: $(obj).depend $(LIB) | |
22 | ||
23 | $(LIB): $(OBJS) | |
6d8962e8 | 24 | $(call cmd_link_o_target, $(OBJS)) |
d34efc76 SS |
25 | |
26 | ######################################################################### | |
27 | ||
28 | # defines $(obj).depend target | |
29 | include $(SRCTREE)/rules.mk | |
30 | ||
31 | sinclude $(obj).depend | |
32 | ||
33 | ######################################################################### |