From 49288518992cb1ae378f52267464d81f93c804ff Mon Sep 17 00:00:00 2001 From: Yang Gang Date: Wed, 27 Nov 2024 17:15:39 +0800 Subject: [PATCH] ArmVirtPkg: Report an error if NETWORK_TLS_ENABLE is TRUE on ARM Signed-off-by: Yang Gang --- ArmVirtPkg/ArmVirt.dsc.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index cf0aba6f2b6f..23d2fcf450c1 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -87,6 +87,9 @@ # Networking Requirements !include NetworkPkg/NetworkLibs.dsc.inc +!if ($(NETWORK_TLS_ENABLE) == TRUE) AND ($(ARCH) == ARM) + !error "NETWORK_TLS_ENABLE is not supported on ARM build!" +!endif # ARM Architectural Libraries CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf