diff options
author | Jia Zhang <zhang.jia@linux.alibaba.com> | 2018-09-17 09:29:52 -0400 |
---|---|---|
committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2018-09-17 09:29:52 -0400 |
commit | b3f12e7803ff2acd48b0d450de3325792cf73134 (patch) | |
tree | 85c897466807d9115d7e597bec7aa6ffc373355e | |
parent | cc40f6c890adfb56a697c6294439fede797b5b87 (diff) | |
download | meta-secure-core-b3f12e7803ff2acd48b0d450de3325792cf73134.tar.gz |
cryptfs-tpm2: Update to the latest
- Follow up the regular way to include header file.
- Use CCLD to build executable and library.
Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
-rw-r--r-- | meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb | 7 |
1 files changed, 4 insertions, 3 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 c9d2a1f..4c7b0fd 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 | |||
@@ -22,7 +22,7 @@ PV = "0.7.0+git${SRCPV}" | |||
22 | SRC_URI = "\ | 22 | SRC_URI = "\ |
23 | git://github.com/jiazhang0/cryptfs-tpm2.git \ | 23 | git://github.com/jiazhang0/cryptfs-tpm2.git \ |
24 | " | 24 | " |
25 | SRCREV = "cb83b1d02e163d2e343e9e0bc3565c1d2c601b84" | 25 | SRCREV = "87c35c63090a33d4de437f518b8da9f2d1f1d828" |
26 | 26 | ||
27 | S = "${WORKDIR}/git" | 27 | S = "${WORKDIR}/git" |
28 | 28 | ||
@@ -30,10 +30,11 @@ EXTRA_OEMAKE = "\ | |||
30 | sbindir="${sbindir}" \ | 30 | sbindir="${sbindir}" \ |
31 | libdir="${libdir}" \ | 31 | libdir="${libdir}" \ |
32 | includedir="${includedir}" \ | 32 | includedir="${includedir}" \ |
33 | tpm2_tss_includedir="${STAGING_INCDIR}/tss2" \ | 33 | tpm2_tss_includedir="${STAGING_INCDIR}" \ |
34 | tpm2_tss_libdir="${STAGING_LIBDIR}" \ | 34 | tpm2_tss_libdir="${STAGING_LIBDIR}" \ |
35 | tpm2_tabrmd_includedir="${STAGING_INCDIR}/tss2" \ | 35 | tpm2_tabrmd_includedir="${STAGING_INCDIR}" \ |
36 | CC="${CC}" \ | 36 | CC="${CC}" \ |
37 | CCLD="${CCLD}" \ | ||
37 | PKG_CONFIG="${STAGING_BINDIR_NATIVE}/pkg-config" \ | 38 | PKG_CONFIG="${STAGING_BINDIR_NATIVE}/pkg-config" \ |
38 | EXTRA_CFLAGS="${CFLAGS}" \ | 39 | EXTRA_CFLAGS="${CFLAGS}" \ |
39 | EXTRA_LDFLAGS="${LDFLAGS}" \ | 40 | EXTRA_LDFLAGS="${LDFLAGS}" \ |