blob: 4df8ce20f9c32a7f2f96c875b08dd557130cc387 [file] [log] [blame]
Andre Schwarzc82fdea2011-04-14 15:11:44 +02001#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Andre Schwarzc82fdea2011-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 Frysinger57e0deb2011-10-18 05:30:17 +000020 $(call cmd_link_o_target, $(OBJS))
Andre Schwarzc82fdea2011-04-14 15:11:44 +020021
Andre Schwarzc82fdea2011-04-14 15:11:44 +020022#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################