| # |
| # Copyright (c) 2013 Samsung Electronics Co., Ltd. |
| # http://www.samsung.com |
| # |
| # SPDX-License-Identifier: GPL-2.0+ |
| # |
| |
| include $(TOPDIR)/config.mk |
| |
| LIB := $(obj)libcrypto.o |
| |
| COBJS-$(CONFIG_EXYNOS_ACE_SHA) += ace_sha.o |
| |
| COBJS := $(COBJS-y) |
| SRCS := $(COBJS:.o=.c) |
| OBJS := $(addprefix $(obj),$(COBJS)) |
| |
| all: $(LIB) |
| |
| $(LIB): $(obj).depend $(OBJS) |
| $(call cmd_link_o_target, $(OBJS)) |
| |
| |
| ######################################################################### |
| |
| # defines $(obj).depend target |
| include $(SRCTREE)/rules.mk |
| |
| sinclude $(obj).depend |
| |
| ######################################################################## |