2011-11-15 23:49:55 +09:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2010
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 16:37:19 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-11-15 23:49:55 +09:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB = $(obj)lib$(SOC).o
|
|
|
|
|
|
|
|
COBJS += hwinit.o
|
|
|
|
COBJS += emif.o
|
2012-03-12 11:25:45 +09:00
|
|
|
COBJS += sdram.o
|
2013-02-04 13:22:00 +09:00
|
|
|
COBJS += prcm-regs.o
|
|
|
|
COBJS += hw_data.o
|
2013-05-21 07:42:08 +09:00
|
|
|
COBJS += abb.o
|
2011-11-15 23:49:55 +09:00
|
|
|
|
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
|
|
|
|
|
|
|
|
all: $(obj).depend $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(OBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|