]> Git Repo - J-u-boot.git/blame - arch/nios2/lib/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[J-u-boot.git] / arch / nios2 / lib / Makefile
CommitLineData
5c952cf0 1#
f9328639 2# (C) Copyright 2000-2006
5c952cf0
WD
3# Wolfgang Denk, DENX Software Engineering, [email protected].
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
5c952cf0
WD
6#
7
8include $(TOPDIR)/config.mk
9
6d8962e8 10LIB = $(obj)lib$(ARCH).o
5c952cf0 11
823afe7c 12SOBJS-y += cache.o
5c952cf0 13
823afe7c 14COBJS-y += board.o
b8eee435 15COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
8d52ea6d 16COBJS-y += libgcc.o
823afe7c 17COBJS-y += time.o
5c952cf0 18
53677ef1 19SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
823afe7c 20OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
5c952cf0 21
f9328639 22$(LIB): $(obj).depend $(OBJS)
6d8962e8 23 $(call cmd_link_o_target, $(OBJS))
5c952cf0
WD
24
25#########################################################################
26
f9328639
MB
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
5c952cf0 29
f9328639 30sinclude $(obj).depend
5c952cf0
WD
31
32#########################################################################
This page took 0.198453 seconds and 4 git commands to generate.