xref: /openbmc/u-boot/arch/arm/cpu/arm1136/mx35/Makefile (revision f9727161)
1#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008-2009 Freescale Semiconductor, Inc.
6#
7# SPDX-License-Identifier:	GPL-2.0+
8#
9
10include $(TOPDIR)/config.mk
11
12LIB	= $(obj)lib$(SOC).o
13
14COBJS	+= generic.o
15COBJS	+= timer.o
16COBJS	+= mx35_sdram.o
17
18SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
19OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
20
21all:	$(obj).depend $(LIB)
22
23$(LIB):	$(OBJS)
24	$(call cmd_link_o_target, $(OBJS))
25
26
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################
35