blob: 06f5c6ac61003106eed7b8dc273735a2deae67c2 [file] [log] [blame]
Stefan Roesefdf21b12007-03-21 13:39:57 +01001#
2# (C) Copyright 2007
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Stefan Roesefdf21b12007-03-21 13:39:57 +01006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
Stefan Roesefdf21b12007-03-21 13:39:57 +010011
Stefan Roese80d99a42007-06-19 16:42:31 +020012COBJS = $(BOARD).o cmd_acadia.o memory.o pll.o
Stefan Roesefdf21b12007-03-21 13:39:57 +010013SOBJS =
14
Stefan Roesec2660542007-03-31 13:44:12 +020015SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010020 $(call cmd_link_o_target, $(OBJS))
Stefan Roesefdf21b12007-03-21 13:39:57 +010021
Stefan Roesefdf21b12007-03-21 13:39:57 +010022#########################################################################
23
Stefan Roesec2660542007-03-31 13:44:12 +020024# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
Stefan Roesefdf21b12007-03-21 13:39:57 +010026
Stefan Roesec2660542007-03-31 13:44:12 +020027sinclude $(obj).depend
Stefan Roesefdf21b12007-03-21 13:39:57 +010028
29#########################################################################