Merge "Add Makefile check for PAuth and AArch64" into integration
This commit is contained in:
commit
6079e44743
10
Makefile
10
Makefile
|
@ -454,14 +454,20 @@ endif
|
||||||
# registers associated to it are also saved and restored. Not doing it would
|
# registers associated to it are also saved and restored. Not doing it would
|
||||||
# leak the value of the key used by EL3 to EL1 and S-EL1.
|
# leak the value of the key used by EL3 to EL1 and S-EL1.
|
||||||
ifeq ($(ENABLE_PAUTH),1)
|
ifeq ($(ENABLE_PAUTH),1)
|
||||||
ifeq ($(CTX_INCLUDE_PAUTH_REGS),0)
|
ifneq ($(ARCH),aarch64)
|
||||||
|
$(error ENABLE_PAUTH=1 requires AArch64)
|
||||||
|
else ifeq ($(CTX_INCLUDE_PAUTH_REGS),0)
|
||||||
$(error ENABLE_PAUTH=1 requires CTX_INCLUDE_PAUTH_REGS=1)
|
$(error ENABLE_PAUTH=1 requires CTX_INCLUDE_PAUTH_REGS=1)
|
||||||
else
|
else
|
||||||
$(info ENABLE_PAUTH and CTX_INCLUDE_PAUTH_REGS are experimental features)
|
$(info ENABLE_PAUTH and CTX_INCLUDE_PAUTH_REGS are experimental features)
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
ifeq ($(CTX_INCLUDE_PAUTH_REGS),1)
|
ifeq ($(CTX_INCLUDE_PAUTH_REGS),1)
|
||||||
$(info CTX_INCLUDE_PAUTH_REGS is an experimental feature)
|
ifneq ($(ARCH),aarch64)
|
||||||
|
$(error CTX_INCLUDE_PAUTH_REGS=1 requires AArch64)
|
||||||
|
else
|
||||||
|
$(info CTX_INCLUDE_PAUTH_REGS is an experimental feature)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue