]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/sandbox/lib/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / sandbox / lib / Makefile
CommitLineData
b8605a1c
SG
1#
2# Copyright (c) 2011 The Chromium OS Authors.
3#
4# (C) Copyright 2002-2006
5# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6#
1a459660 7# SPDX-License-Identifier: GPL-2.0+
b8605a1c
SG
8#
9
10include $(TOPDIR)/config.mk
11
12LIB = $(obj)lib$(ARCH).o
13
b8605a1c
SG
14COBJS-y += interrupts.o
15
16SRCS := $(COBJS-y:.o=.c)
17OBJS := $(addprefix $(obj),$(COBJS-y))
18
19# Always build libsandbox.o
20TARGETS := $(LIB)
21
22all: $(TARGETS)
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#########################################################################