From ca887b74648d703885271c7d4193a1fe32b19cfb Mon Sep 17 00:00:00 2001 From: Appana Durga Kedareswara rao Date: Fri, 10 Feb 2023 23:26:15 +0530 Subject: meta-xilinx-standalone-experimental: classes: esw: Don't enable CMAKE_EXPORT_COMPILE_COMMANDS With the latest esw code changes if we enable CMAKE_EXPORT_COMPILE_COMMANDS it will include CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES into the path default value this variable is /usr/include if enable this param it will try to include application headers in /usr/include resulting compilation error so disable this param for yocto flow. Signed-off-by: Appana Durga Kedareswara rao Signed-off-by: Mark Hatle --- meta-xilinx-standalone-experimental/classes/esw.bbclass | 1 - 1 file changed, 1 deletion(-) (limited to 'meta-xilinx-standalone-experimental/classes') diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass index 07507c2c..653e7e0f 100644 --- a/meta-xilinx-standalone-experimental/classes/esw.bbclass +++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass @@ -80,7 +80,6 @@ cmake_do_generate_toolchain_file:append() { # set( CMAKE_SYSTEM_NAME `echo elf | sed -e 's/^./\u&/' -e 's/^\(Linux\).*/\1/'` ) set( CMAKE_SYSTEM_NAME "${XLNX_CMAKE_SYSTEM_NAME}" ) set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${S}/cmake) - set( CMAKE_EXPORT_COMPILE_COMMANDS ON) set( CMAKE_LIBRARY_PATH ${CMAKE_INSTALL_LIBDIR}) add_definitions( "${XLNX_CMAKE_BSP_VARS}" ) EOF -- cgit v1.2.3-54-g00ecf