1bfe18815SJohn Schmoller# 2bfe18815SJohn Schmoller# Copyright 2007-2008 Freescale Semiconductor, Inc. 3bfe18815SJohn Schmoller# 4*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 5bfe18815SJohn Schmoller# 6bfe18815SJohn Schmoller 7bfe18815SJohn Schmollerinclude $(TOPDIR)/config.mk 8bfe18815SJohn Schmoller 96d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 10bfe18815SJohn Schmoller 11bfe18815SJohn SchmollerCOBJS-y += $(BOARD).o 12bfe18815SJohn SchmollerCOBJS-y += ddr.o 13bfe18815SJohn SchmollerCOBJS-y += law.o 14bfe18815SJohn SchmollerCOBJS-y += tlb.o 15bfe18815SJohn Schmoller 16bfe18815SJohn SchmollerSRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) 17bfe18815SJohn SchmollerOBJS := $(addprefix $(obj),$(COBJS-y)) 18bfe18815SJohn SchmollerSOBJS := $(addprefix $(obj),$(SOBJS-y)) 19bfe18815SJohn Schmoller 20bfe18815SJohn Schmoller$(LIB): $(obj).depend $(OBJS) $(SOBJS) 216d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 22bfe18815SJohn Schmoller 23bfe18815SJohn Schmoller######################################################################### 24bfe18815SJohn Schmoller 25bfe18815SJohn Schmoller# defines $(obj).depend target 26bfe18815SJohn Schmollerinclude $(SRCTREE)/rules.mk 27bfe18815SJohn Schmoller 28bfe18815SJohn Schmollersinclude $(obj).depend 29bfe18815SJohn Schmoller 30bfe18815SJohn Schmoller######################################################################### 31