xref: /openbmc/u-boot/arch/m68k/lib/Makefile (revision 1a459660)
1#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8include $(TOPDIR)/config.mk
9
10LIB	= $(obj)lib$(ARCH).o
11
12SOBJS-y	+=
13
14COBJS-y	+= board.o
15COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
16COBJS-y	+= cache.o
17COBJS-y	+= interrupts.o
18COBJS-y	+= time.o
19COBJS-y	+= traps.o
20
21SRCS	:= $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
22OBJS	:= $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
23
24$(LIB):	$(obj).depend $(OBJS)
25	$(call cmd_link_o_target, $(OBJS))
26
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################
35