blob: 08d6d667d2e8542c22172d1c1400eb8c2a34e83a [file] [log] [blame]
Roy Zang3f7f6b82011-06-09 11:30:52 +08001#
2# Copyright 2010-2011 Freescale Semiconductor, Inc.
3#
4# This program is free software; you can redistribute it and/or modify it
5# under the terms of the GNU General Public License as published by the Free
6# Software Foundation; either version 2 of the License, or (at your option)
7# any later version.
8#
9
10include $(TOPDIR)/config.mk
11
12LIB = $(obj)lib$(BOARD).o
13
14COBJS-y += $(BOARD).o
15COBJS-y += law.o
16COBJS-y += tlb.o
17
18SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
19OBJS := $(addprefix $(obj),$(COBJS-y))
20SOBJS := $(addprefix $(obj),$(SOBJS))
21
22$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Mike Frysinger26ddff22011-10-18 05:30:17 +000023 $(call cmd_link_o_target, $(OBJS))
Roy Zang3f7f6b82011-06-09 11:30:52 +080024
Roy Zang3f7f6b82011-06-09 11:30:52 +080025#########################################################################
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
31
32#########################################################################