blob: 4df8ce20f9c32a7f2f96c875b08dd557130cc387 [file] [log] [blame]
Andre Schwarz7fb3e7a2011-04-14 15:11:44 +02001#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Andre Schwarz7fb3e7a2011-04-14 15:11:44 +02006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
12COBJS-y += $(BOARD).o pci.o fpga.o sm107.o
13
14COBJS := $(COBJS-y)
15SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(obj).depend $(OBJS)
Mike Frysinger26ddff22011-10-18 05:30:17 +000020 $(call cmd_link_o_target, $(OBJS))
Andre Schwarz7fb3e7a2011-04-14 15:11:44 +020021
Andre Schwarz7fb3e7a2011-04-14 15:11:44 +020022#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################