blob: decd6e509dfbaabe57dc78f43923da5d3f004131 [file] [log] [blame]
Simon Glass19c402a2013-06-13 15:10:02 -07001#
2# Copyright (c) 2013, Google Inc.
3#
4# (C) Copyright 2000-2007
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 Glass19c402a2013-06-13 15:10:02 -07008#
9
10include $(TOPDIR)/config.mk
11
12LIB = $(obj)librsa.o
13
14ifdef CONFIG_FIT_SIGNATURE
15COBJS-$(CONFIG_RSA) += rsa-verify.o
16endif
17
18COBJS := $(sort $(COBJS-y))
19SRCS := $(COBJS:.o=.c)
20OBJS := $(addprefix $(obj),$(COBJS))
21
22$(LIB): $(obj).depend $(OBJS)
23 $(call cmd_link_o_target, $(OBJS))
24
25#########################################################################
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
31
32#########################################################################