xref: /openbmc/u-boot/lib/rsa/Makefile (revision 1a459660)
119c402afSSimon Glass#
219c402afSSimon Glass# Copyright (c) 2013, Google Inc.
319c402afSSimon Glass#
419c402afSSimon Glass# (C) Copyright 2000-2007
519c402afSSimon Glass# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
619c402afSSimon Glass#
7*1a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
819c402afSSimon Glass#
919c402afSSimon Glass
1019c402afSSimon Glassinclude $(TOPDIR)/config.mk
1119c402afSSimon Glass
1219c402afSSimon GlassLIB	= $(obj)librsa.o
1319c402afSSimon Glass
1419c402afSSimon Glassifdef CONFIG_FIT_SIGNATURE
1519c402afSSimon GlassCOBJS-$(CONFIG_RSA) += rsa-verify.o
1619c402afSSimon Glassendif
1719c402afSSimon Glass
1819c402afSSimon GlassCOBJS	:= $(sort $(COBJS-y))
1919c402afSSimon GlassSRCS	:= $(COBJS:.o=.c)
2019c402afSSimon GlassOBJS	:= $(addprefix $(obj),$(COBJS))
2119c402afSSimon Glass
2219c402afSSimon Glass$(LIB):	$(obj).depend $(OBJS)
2319c402afSSimon Glass	$(call cmd_link_o_target, $(OBJS))
2419c402afSSimon Glass
2519c402afSSimon Glass#########################################################################
2619c402afSSimon Glass
2719c402afSSimon Glass# defines $(obj).depend target
2819c402afSSimon Glassinclude $(SRCTREE)/rules.mk
2919c402afSSimon Glass
3019c402afSSimon Glasssinclude $(obj).depend
3119c402afSSimon Glass
3219c402afSSimon Glass#########################################################################
33