diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-11-19 23:18:24 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-11-28 16:16:19 -0800 |
commit | 59295103f1f87b207e5c3e154e6ad01291e1f9df (patch) | |
tree | bb15f05e70d88c24ce94a50508ab677cf8a99ef7 | |
parent | 05ee41d3a5c5e1f19d3457f208b2fb0edbe682d7 (diff) | |
download | meta-security-59295103f1f87b207e5c3e154e6ad01291e1f9df.tar.gz |
openssl-tpm-engine: fix warning for append operator combined with +=
Fixes:
WARNING: openssl-tpm-engine_0.5.0.bb: CFLAGS:append += is not a
recommended operator combination, please replace it.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb b/meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb index ef663eb..2b969ed 100644 --- a/meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb +++ b/meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb | |||
@@ -35,10 +35,10 @@ inherit autotools-brokensep pkgconfig | |||
35 | srk_dec_pw ?= "\\"\\\x1\\"\\"nc\\"\\"\\\x3\\"\\"nd\\"\\"\\\x1\\"\\"a\\"" | 35 | srk_dec_pw ?= "\\"\\\x1\\"\\"nc\\"\\"\\\x3\\"\\"nd\\"\\"\\\x1\\"\\"a\\"" |
36 | srk_dec_salt ?= "\\"r\\"\\"\\\x00\\\x00\\"\\"t\\"" | 36 | srk_dec_salt ?= "\\"r\\"\\"\\\x00\\\x00\\"\\"t\\"" |
37 | 37 | ||
38 | CFLAGS:append += "-DSRK_DEC_PW=${srk_dec_pw} -DSRK_DEC_SALT=${srk_dec_salt}" | 38 | CFLAGS:append = " -DSRK_DEC_PW=${srk_dec_pw} -DSRK_DEC_SALT=${srk_dec_salt}" |
39 | 39 | ||
40 | # Uncomment below line if using the plain srk password for development | 40 | # Uncomment below line if using the plain srk password for development |
41 | #CFLAGS_append += "-DTPM_SRK_PLAIN_PW" | 41 | #CFLAGS:append = " -DTPM_SRK_PLAIN_PW" |
42 | 42 | ||
43 | do_configure:prepend() { | 43 | do_configure:prepend() { |
44 | cd ${B} | 44 | cd ${B} |