diff options
| author | Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> | 2023-02-10 23:26:15 +0530 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-02-10 10:46:52 -0800 |
| commit | ca887b74648d703885271c7d4193a1fe32b19cfb (patch) | |
| tree | 8d1ece5b141f2f9921fd4888fd603a04cb6520da /meta-xilinx-standalone-experimental/classes | |
| parent | 35e82245d5739673818bd59830d2687aba88f99b (diff) | |
| download | meta-xilinx-ca887b74648d703885271c7d4193a1fe32b19cfb.tar.gz | |
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 <appana.durga.kedareswara.rao@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/classes')
| -rw-r--r-- | meta-xilinx-standalone-experimental/classes/esw.bbclass | 1 |
1 files changed, 0 insertions, 1 deletions
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() { | |||
| 80 | # set( CMAKE_SYSTEM_NAME `echo elf | sed -e 's/^./\u&/' -e 's/^\(Linux\).*/\1/'` ) | 80 | # set( CMAKE_SYSTEM_NAME `echo elf | sed -e 's/^./\u&/' -e 's/^\(Linux\).*/\1/'` ) |
| 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_EXPORT_COMPILE_COMMANDS ON) | ||
| 84 | set( CMAKE_LIBRARY_PATH ${CMAKE_INSTALL_LIBDIR}) | 83 | set( CMAKE_LIBRARY_PATH ${CMAKE_INSTALL_LIBDIR}) |
| 85 | add_definitions( "${XLNX_CMAKE_BSP_VARS}" ) | 84 | add_definitions( "${XLNX_CMAKE_BSP_VARS}" ) |
| 86 | EOF | 85 | EOF |
