summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental
diff options
context:
space:
mode:
authorAppana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>2023-03-02 12:56:23 +0530
committerMark Hatle <mark.hatle@amd.com>2023-03-03 10:44:14 -0600
commitbe4ee003469b2f9d9d2afb95ca0e5d8e00f4d9e8 (patch)
tree7de7511eddca18c2b9db57e40a88e66609aaa3c5 /meta-xilinx-standalone-experimental
parentec9bbae64508e188f385508336f0ea2929311a64 (diff)
downloadmeta-xilinx-be4ee003469b2f9d9d2afb95ca0e5d8e00f4d9e8.tar.gz
meta-xilinx-standalone-experimental: classes: esw: Compile PLM by default on release mode
FIXME: By default CMAKE_BUILD_TYPE is Debug with the latest esw source repo changes if we try to compile plm getting linker overflow error to workaround the issue switch the default build type to Release mode. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental')
-rw-r--r--meta-xilinx-standalone-experimental/classes/esw.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass
index 653e7e0f..febdebad 100644
--- a/meta-xilinx-standalone-experimental/classes/esw.bbclass
+++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass
@@ -81,6 +81,9 @@ cmake_do_generate_toolchain_file:append() {
81 set( CMAKE_SYSTEM_NAME "${XLNX_CMAKE_SYSTEM_NAME}" ) 81 set( CMAKE_SYSTEM_NAME "${XLNX_CMAKE_SYSTEM_NAME}" )
82 set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${S}/cmake) 82 set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${S}/cmake)
83 set( CMAKE_LIBRARY_PATH ${CMAKE_INSTALL_LIBDIR}) 83 set( CMAKE_LIBRARY_PATH ${CMAKE_INSTALL_LIBDIR})
84 if ("${XLNX_CMAKE_PROCESSOR}" STREQUAL "plm_microblaze")
85 set( CMAKE_BUILD_TYPE Release)
86 endif()
84 add_definitions( "${XLNX_CMAKE_BSP_VARS}" ) 87 add_definitions( "${XLNX_CMAKE_BSP_VARS}" )
85EOF 88EOF
86} 89}