blob: fc6e2ddd0a81842d09e5fad9abcef6d3536fba26 [file] [log] [blame]
Steve Sakoman1ad21582010-06-08 13:07:46 -07001#
2# (C) Copyright 2000-2010
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Steve Sakoman1ad21582010-06-08 13:07:46 -07006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)lib$(SOC).o
Steve Sakoman1ad21582010-06-08 13:07:46 -070011
Aneesh Vcc565582011-07-21 09:10:09 -040012COBJS += sdram_elpida.o
Sricharan9310ff72011-11-15 09:49:55 -050013COBJS += hwinit.o
Sricharan62a86502011-11-15 09:50:00 -050014COBJS += emif.o
SRICHARAN Rfb6aa1f2013-02-04 04:22:00 +000015COBJS += prcm-regs.o
16COBJS += hw_data.o
Steve Sakoman1ad21582010-06-08 13:07:46 -070017
18SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
19OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
20
21all: $(obj).depend $(LIB)
22
23$(LIB): $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010024 $(call cmd_link_o_target, $(OBJS))
Steve Sakoman1ad21582010-06-08 13:07:46 -070025
26#########################################################################
27
28# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################