xref: /openbmc/u-boot/board/sbc8349/Makefile (revision 1a459660)
191e25769SPaul Gortmaker#
291e25769SPaul Gortmaker# Copyright (c) 2006 Wind River Systems, Inc.
391e25769SPaul Gortmaker#
4*1a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
591e25769SPaul Gortmaker#
691e25769SPaul Gortmaker
791e25769SPaul Gortmakerinclude $(TOPDIR)/config.mk
891e25769SPaul Gortmaker
96d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
1091e25769SPaul Gortmaker
119993e196SKim PhillipsCOBJS-y += $(BOARD).o
129993e196SKim PhillipsCOBJS-$(CONFIG_PCI) += pci.o
1391e25769SPaul Gortmaker
149993e196SKim PhillipsCOBJS   := $(COBJS-y)
1591e25769SPaul GortmakerSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
1691e25769SPaul GortmakerOBJS	:= $(addprefix $(obj),$(COBJS))
1791e25769SPaul GortmakerSOBJS	:= $(addprefix $(obj),$(SOBJS))
1891e25769SPaul Gortmaker
1991e25769SPaul Gortmaker$(LIB):	$(obj).depend $(OBJS)
206d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS))
2191e25769SPaul Gortmaker
2291e25769SPaul Gortmaker#########################################################################
2391e25769SPaul Gortmaker
2491e25769SPaul Gortmaker# defines $(obj).depend target
2591e25769SPaul Gortmakerinclude $(SRCTREE)/rules.mk
2691e25769SPaul Gortmaker
2791e25769SPaul Gortmakersinclude $(obj).depend
2891e25769SPaul Gortmaker
2991e25769SPaul Gortmaker#########################################################################
30