xref: /openbmc/u-boot/board/sbc8641d/Makefile (revision 1a459660)
18ac27327SJoe Hamman#
28ac27327SJoe Hamman# (C) Copyright 2001
38ac27327SJoe Hamman# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
48ac27327SJoe Hamman#
5*1a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
68ac27327SJoe Hamman#
78ac27327SJoe Hamman
88ac27327SJoe Hammaninclude $(TOPDIR)/config.mk
98ac27327SJoe Hamman
106d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
118ac27327SJoe Hamman
129bd4e591SKumar GalaCOBJS-y	+= $(BOARD).o
139bd4e591SKumar GalaCOBJS-y	+= law.o
149bd4e591SKumar GalaCOBJS-$(CONFIG_FSL_DDR2) += ddr.o
158ac27327SJoe Hamman
169bd4e591SKumar GalaSRCS	:= $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
179bd4e591SKumar GalaOBJS	:= $(addprefix $(obj),$(COBJS-y))
188ac27327SJoe HammanSOBJS	:= $(addprefix $(obj),$(SOBJS))
198ac27327SJoe Hamman
208ac27327SJoe Hamman$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
216d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS))
228ac27327SJoe Hamman
238ac27327SJoe Hamman#########################################################################
248ac27327SJoe Hamman
258ac27327SJoe Hamman# defines $(obj).depend target
268ac27327SJoe Hammaninclude $(SRCTREE)/rules.mk
278ac27327SJoe Hamman
288ac27327SJoe Hammansinclude ($obj).depend
298ac27327SJoe Hamman
308ac27327SJoe Hamman#########################################################################
31