blob: 993fb4e06b5646a28da02deafa54dbbe6436d0ab [file] [log] [blame]
Simon Glassb8605a12011-10-03 19:26:37 +00001#
2# Copyright (c) 2011 The Chromium OS Authors.
3#
4# (C) Copyright 2002-2006
5# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6#
Wolfgang Denk1a459662013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Simon Glassb8605a12011-10-03 19:26:37 +00008#
9
10include $(TOPDIR)/config.mk
11
12LIB = $(obj)lib$(ARCH).o
13
Simon Glassb8605a12011-10-03 19:26:37 +000014COBJS-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#########################################################################