blob: f987dc5650762f4eebbdc2e6eb44fd266d9260d1 [file] [log] [blame]
Roy Zang3e9ecf82011-06-09 11:30:52 +08001#
2# Copyright 2010-2011 Freescale Semiconductor, Inc.
3#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Roy Zang3e9ecf82011-06-09 11:30:52 +08005#
6
7include $(TOPDIR)/config.mk
8
9LIB = $(obj)lib$(BOARD).o
10
11COBJS-y += $(BOARD).o
12COBJS-y += law.o
13COBJS-y += tlb.o
14
15SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS-y))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Mike Frysinger57e0deb2011-10-18 05:30:17 +000020 $(call cmd_link_o_target, $(OBJS))
Roy Zang3e9ecf82011-06-09 11:30:52 +080021
Roy Zang3e9ecf82011-06-09 11:30:52 +080022#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################