10aee53baSChander Kashyap# 20aee53baSChander Kashyap# Copyright (C) 2012 Samsung Electronics 30aee53baSChander Kashyap# 40aee53baSChander Kashyap# See file CREDITS for list of people who contributed to this 50aee53baSChander Kashyap# project. 60aee53baSChander Kashyap# 70aee53baSChander Kashyap# This program is free software; you can redistribute it and/or 80aee53baSChander Kashyap# modify it under the terms of the GNU General Public License as 90aee53baSChander Kashyap# published by the Free Software Foundation; either version 2 of 100aee53baSChander Kashyap# the License, or (at your option) any later version. 110aee53baSChander Kashyap# 120aee53baSChander Kashyap# This program is distributed in the hope that it will be useful, 130aee53baSChander Kashyap# but WITHOUT ANY WARRANTY; without even the implied warranty of 140aee53baSChander Kashyap# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 150aee53baSChander Kashyap# GNU General Public License for more details. 160aee53baSChander Kashyap# 170aee53baSChander Kashyap# You should have received a copy of the GNU General Public License 180aee53baSChander Kashyap# along with this program; if not, write to the Free Software 190aee53baSChander Kashyap# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 200aee53baSChander Kashyap# MA 02111-1307 USA 210aee53baSChander Kashyap# 220aee53baSChander Kashyap 230aee53baSChander Kashyapinclude $(TOPDIR)/config.mk 240aee53baSChander Kashyap 250aee53baSChander KashyapLIB = $(obj)lib$(BOARD).o 260aee53baSChander Kashyap 279c46f034SRajeshwari ShindeCOBJS += smdk5250_spl.o 2881e35203SChander Kashyap 2981e35203SChander Kashyapifndef CONFIG_SPL_BUILD 30752f4c4aSAmarifdef CONFIG_OF_CONTROL 31752f4c4aSAmarCOBJS += exynos5-dt.o 32752f4c4aSAmarelse 330aee53baSChander KashyapCOBJS += smdk5250.o 3481e35203SChander Kashyapendif 35752f4c4aSAmarendif 3681e35203SChander Kashyap 37*643be9c0SRajeshwari ShindeSRCS := $(COBJS:.o=.c) 38*643be9c0SRajeshwari ShindeOBJS := $(addprefix $(obj),$(COBJS)) 390aee53baSChander Kashyap 400aee53baSChander KashyapALL := $(obj).depend $(LIB) 410aee53baSChander Kashyap 420aee53baSChander Kashyapall: $(ALL) 430aee53baSChander Kashyap 440aee53baSChander Kashyap$(LIB): $(OBJS) 450aee53baSChander Kashyap $(call cmd_link_o_target, $(OBJS)) 460aee53baSChander Kashyap 470aee53baSChander Kashyap######################################################################### 480aee53baSChander Kashyap 490aee53baSChander Kashyap# defines $(obj).depend target 500aee53baSChander Kashyapinclude $(SRCTREE)/rules.mk 510aee53baSChander Kashyap 520aee53baSChander Kashyapsinclude $(obj).depend 530aee53baSChander Kashyap 540aee53baSChander Kashyap######################################################################### 55