1# 2# Copyright 2007 Freescale Semiconductor, Inc. 3# (C) Copyright 2001-2006 4# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 5# 6# SPDX-License-Identifier: GPL-2.0+ 7# 8 9include $(TOPDIR)/config.mk 10 11LIB = $(obj)lib$(BOARD).o 12 13COBJS-y += $(BOARD).o 14COBJS-y += ddr.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) 23 $(call cmd_link_o_target, $(OBJS)) 24 25######################################################################### 26 27# defines $(obj).depend target 28include $(SRCTREE)/rules.mk 29 30sinclude $(obj).depend 31 32######################################################################### 33