summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLans Zhang <jia.zhang@windriver.com>2017-07-05 09:29:09 +0800
committerLans Zhang <jia.zhang@windriver.com>2017-07-05 09:29:09 +0800
commit35fb18863ade623076ca6e6821bdb3058d4c8edf (patch)
tree5355e811a08460dc1f3829017065a036083e5bc1
parent6ace7c99baf1b8ab5eb12793331cb3f4ffe695cf (diff)
downloadmeta-secure-core-35fb18863ade623076ca6e6821bdb3058d4c8edf.tar.gz
cryptfs-tpm2: code style fixup
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
-rw-r--r--meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb28
1 files changed, 15 insertions, 13 deletions
diff --git a/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb b/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb
index 600470a..1298e73 100644
--- a/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb
+++ b/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb
@@ -1,6 +1,6 @@
1SUMMARY = "A tool used to create, persist, evict a passphrase \ 1SUMMARY = "A tool used to create, persist, evict a passphrase \
2for full-disk-encryption with TPM 2.0" 2for full-disk-encryption with TPM 2.0"
3DESCRIPTION = " \ 3DESCRIPTION = "\
4This project provides with an implementation for \ 4This project provides with an implementation for \
5creating, persisting and evicting a passphrase with TPM 2.0. \ 5creating, persisting and evicting a passphrase with TPM 2.0. \
6The passphrase and its associated primary key are automatically \ 6The passphrase and its associated primary key are automatically \
@@ -12,24 +12,18 @@ SECTION = "devel"
12LICENSE = "BSD-3-Clause" 12LICENSE = "BSD-3-Clause"
13LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=89c8ce1346a3dfe75379e84f3ba9d641" 13LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=89c8ce1346a3dfe75379e84f3ba9d641"
14 14
15SRC_URI = " \
16 git://github.com/WindRiver-OpenSourceLabs/cryptfs-tpm2.git \
17"
18SRCREV = "5ee0580eb94dc9cb6629b6b5e6de0a3a2eef2b64"
19PV = "0.6.0+git${SRCPV}"
20
21DEPENDS += "tpm2.0-tss tpm2-abrmd pkgconfig-native" 15DEPENDS += "tpm2.0-tss tpm2-abrmd pkgconfig-native"
22RDEPENDS_${PN} += "libtss2 libtctidevice libtctisocket"
23 16
24PACKAGES =+ " \ 17PV = "0.6.0+git${SRCPV}"
25 ${PN}-initramfs \
26"
27 18
28PARALLEL_MAKE = "" 19SRC_URI = "\
20 git://github.com/WindRiver-OpenSourceLabs/cryptfs-tpm2.git \
21"
22SRCREV = "5ee0580eb94dc9cb6629b6b5e6de0a3a2eef2b64"
29 23
30S = "${WORKDIR}/git" 24S = "${WORKDIR}/git"
31 25
32EXTRA_OEMAKE = " \ 26EXTRA_OEMAKE = "\
33 sbindir="${sbindir}" \ 27 sbindir="${sbindir}" \
34 libdir="${libdir}" \ 28 libdir="${libdir}" \
35 includedir="${includedir}" \ 29 includedir="${includedir}" \
@@ -42,6 +36,8 @@ EXTRA_OEMAKE = " \
42 EXTRA_LDFLAGS="${LDFLAGS}" \ 36 EXTRA_LDFLAGS="${LDFLAGS}" \
43" 37"
44 38
39PARALLEL_MAKE = ""
40
45do_install() { 41do_install() {
46 oe_runmake install DESTDIR="${D}" 42 oe_runmake install DESTDIR="${D}"
47 43
@@ -50,6 +46,12 @@ do_install() {
50 fi 46 fi
51} 47}
52 48
49PACKAGES =+ "\
50 ${PN}-initramfs \
51"
52
53FILES_${PN}-initramfs = "\ 53FILES_${PN}-initramfs = "\
54 /init.cryptfs \ 54 /init.cryptfs \
55" 55"
56
57RDEPENDS_${PN} += "libtss2 libtctidevice libtctisocket"