1# Copyright 2007 Freescale Semiconductor, Inc. 2# 3# SPDX-License-Identifier: GPL-2.0+ 4# 5 6include $(TOPDIR)/config.mk 7 8LIB = $(obj)lib$(BOARD).o 9 10COBJS-y += $(BOARD).o 11COBJS-$(CONFIG_FSL_DDR2) += ddr.o 12COBJS-y += law.o 13 14COBJS-$(CONFIG_FSL_DIU_FB) += mpc8610hpcd_diu.o 15 16SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 17OBJS := $(addprefix $(obj),$(COBJS-y)) 18SOBJS := $(addprefix $(obj),$(SOBJS)) 19 20$(LIB): $(obj).depend $(OBJS) $(SOBJS) 21 $(call cmd_link_o_target, $(OBJS)) 22 23######################################################################### 24 25# defines $(obj).depend target 26include $(SRCTREE)/rules.mk 27 28sinclude $(obj).depend 29 30######################################################################### 31