]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/sandbox/lib/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / sandbox / lib / Makefile
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 #
7 # SPDX-License-Identifier:      GPL-2.0+
8 #
9
10 include $(TOPDIR)/config.mk
11
12 LIB     = $(obj)lib$(ARCH).o
13
14 COBJS-y += interrupts.o
15
16 SRCS    := $(COBJS-y:.o=.c)
17 OBJS    := $(addprefix $(obj),$(COBJS-y))
18
19 # Always build libsandbox.o
20 TARGETS := $(LIB)
21
22 all:    $(TARGETS)
23
24 $(LIB): $(obj).depend $(OBJS)
25         $(call cmd_link_o_target, $(OBJS))
26
27 #########################################################################
28
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
31
32 sinclude $(obj).depend
33
34 #########################################################################