]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/amcc/bamboo/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / amcc / bamboo / Makefile
CommitLineData
935ecca1 1#
a471db07 2# (C) Copyright 2002-2007
935ecca1
WD
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
935ecca1
WD
6#
7
8include $(TOPDIR)/config.mk
9
6d8962e8 10LIB = $(obj)lib$(BOARD).o
935ecca1 11
f9328639 12COBJS = $(BOARD).o flash.o
935ecca1
WD
13SOBJS = init.o
14
f9328639
MB
15SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
ee8028b7
WD
19all: $(LIB) $(SOBJS)
20
21$(LIB): $(OBJS)
22 $(call cmd_link_o_target, $^)
935ecca1 23
935ecca1
WD
24#########################################################################
25
f9328639
MB
26# defines $(obj).depend target
27include $(SRCTREE)/rules.mk
935ecca1 28
f9328639 29sinclude $(obj).depend
935ecca1
WD
30
31#########################################################################