# that applies the configuration for the PRM context data in the boot environment. A PRM handler\r
# is provided that accesses the context buffer resources and prints their value at OS runtime.\r
#\r
+# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>\r
# Copyright (c) Microsoft Corporation\r
+# Copyright (c) 2022, Arm Limited. All rights reserved.<BR>\r
#\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
\r
[BuildOptions.common]\r
MSFT:*_*_*_DLINK_FLAGS = /DLL /SUBSYSTEM:CONSOLE /VERSION:1.0\r
+ MSFT:*_*_*_GENFW_FLAGS = --keepoptionalheader\r
+\r
+ GCC:*_*_AARCH64_GENFW_FLAGS = --keepoptionalheader --prm\r
+ GCC:*_*_AARCH64_DLINK_FLAGS = -Wl,--no-gc-sections -Wl,--require-defined=PrmModuleExportDescriptor -Wl,--require-defined=CheckStaticDataBufferPrmHandler\r