summaryrefslogtreecommitdiffstats
path: root/rules/cryptodev-api.make
blob: 606108bd97b19eed56081a959e7e78ace32387ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*-makefile-*-
#
# Copyright (C) 2019 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_CRYPTODEV_API) += cryptodev-api

#
# Paths and names
#
CRYPTODEV_API_VERSION	= $(CRYPTODEV_VERSION)
CRYPTODEV_API_MD5	= $(CRYPTODEV_MD5)
CRYPTODEV_API		= cryptodev-api-$(CRYPTODEV_API_VERSION)
CRYPTODEV_API_SUFFIX	= tar.gz
CRYPTODEV_API_URL	= $(CRYPTODEV_URL)
CRYPTODEV_API_SOURCE	= $(CRYPTODEV_SOURCE)
CRYPTODEV_API_DIR	= $(BUILDDIR)/$(CRYPTODEV_API)
CRYPTODEV_API_LICENSE	= $(CRYPTODEV_LICENSE)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

CRYPTODEV_API_CONF_TOOL	:= NO

# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------

$(STATEDIR)/cryptodev-api.compile:
	@$(call targetinfo)
	@$(call touch)

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

$(STATEDIR)/cryptodev-api.install:
	@$(call targetinfo)
	@install -m644 -D $(CRYPTODEV_API_DIR)/crypto/cryptodev.h \
		$(CRYPTODEV_API_PKGDIR)/usr/include/crypto/cryptodev.h
	@$(call touch)

# vim: syntax=make