1e58fe957SKim Phillips#
24c2e3da8SKumar Gala# Copyright (C) Freescale Semiconductor, Inc. 2006.
3e58fe957SKim Phillips#
4*1a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
5e58fe957SKim Phillips#
6e58fe957SKim Phillips
7e58fe957SKim Phillipsinclude $(TOPDIR)/config.mk
8e58fe957SKim Phillips
96d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
10e58fe957SKim Phillips
119993e196SKim PhillipsCOBJS-y += $(BOARD).o
129993e196SKim PhillipsCOBJS-$(CONFIG_PCI) += pci.o
13e58fe957SKim Phillips
149993e196SKim PhillipsCOBJS	:= $(COBJS-y)
15e58fe957SKim PhillipsSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
16e58fe957SKim PhillipsOBJS	:= $(addprefix $(obj),$(COBJS))
17e58fe957SKim PhillipsSOBJS	:= $(addprefix $(obj),$(SOBJS))
18e58fe957SKim Phillips
19e58fe957SKim Phillips$(LIB):	$(obj).depend $(OBJS)
206d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS))
21e58fe957SKim Phillips
22e58fe957SKim Phillips#########################################################################
23e58fe957SKim Phillips
24e58fe957SKim Phillipsinclude $(SRCTREE)/rules.mk
25e58fe957SKim Phillips
26e58fe957SKim Phillipssinclude $(obj).depend
27e58fe957SKim Phillips
28e58fe957SKim Phillips#########################################################################
29