diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2017-09-30 15:50:25 +0800 |
---|---|---|
committer | Jia Zhang <qianyue.zj@alibaba-inc.com> | 2017-09-30 03:50:25 -0400 |
commit | a852a682270455fff886da8c2f3397a1516af2cb (patch) | |
tree | ca595ba8eee70345807fbf8dc9905d85997d7a35 | |
parent | 5080ec0fac64f6965a7559486bee748d82383108 (diff) | |
download | meta-secure-core-a852a682270455fff886da8c2f3397a1516af2cb.tar.gz |
shim: disable OVERRIDE_SECURITY_POLICY for 32bit target (#25)
Fix 32bit assembler errors:
| /tmp/ccJyZFtJ.s: Assembler messages:
| /tmp/ccJyZFtJ.s:268: Error: bad register name `%rsp)'
| /tmp/ccJyZFtJ.s:269: Error: bad register name `%rdi'
...
| make[1]: *** [<builtin>: security_policy.o] Error 1
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
-rw-r--r-- | meta-efi-secure-boot/recipes-bsp/shim/shim_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-efi-secure-boot/recipes-bsp/shim/shim_git.bb b/meta-efi-secure-boot/recipes-bsp/shim/shim_git.bb index 5aeeedb..d07680b 100644 --- a/meta-efi-secure-boot/recipes-bsp/shim/shim_git.bb +++ b/meta-efi-secure-boot/recipes-bsp/shim/shim_git.bb | |||
@@ -64,10 +64,11 @@ EXTRA_OEMAKE = "\ | |||
64 | ${@'VENDOR_DBX_FILE=${WORKDIR}/vendor_dbx.esl' \ | 64 | ${@'VENDOR_DBX_FILE=${WORKDIR}/vendor_dbx.esl' \ |
65 | if uks_signing_model(d) == 'user' else ''} \ | 65 | if uks_signing_model(d) == 'user' else ''} \ |
66 | ENABLE_HTTPBOOT=1 \ | 66 | ENABLE_HTTPBOOT=1 \ |
67 | OVERRIDE_SECURITY_POLICY=1 \ | ||
68 | ENABLE_SBSIGN=1 \ | 67 | ENABLE_SBSIGN=1 \ |
69 | " | 68 | " |
70 | 69 | ||
70 | EXTRA_OEMAKE_append_x86-64 = " OVERRIDE_SECURITY_POLICY=1" | ||
71 | |||
71 | PARALLEL_MAKE = "" | 72 | PARALLEL_MAKE = "" |
72 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | 73 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' |
73 | 74 | ||