diff options
Diffstat (limited to 'meta-xilinx-standalone-experimental/classes/esw.bbclass')
| -rw-r--r-- | meta-xilinx-standalone-experimental/classes/esw.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass index febdebad..a597a81c 100644 --- a/meta-xilinx-standalone-experimental/classes/esw.bbclass +++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass | |||
| @@ -80,11 +80,11 @@ 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_LIBRARY_PATH ${CMAKE_INSTALL_LIBDIR}) | 83 | set( CMAKE_LIBRARY_PATH ${B}) |
| 84 | if ("${XLNX_CMAKE_PROCESSOR}" STREQUAL "plm_microblaze") | 84 | if ("${XLNX_CMAKE_PROCESSOR}" STREQUAL "plm_microblaze") |
| 85 | set( CMAKE_BUILD_TYPE Release) | 85 | set( CMAKE_BUILD_TYPE Release) |
| 86 | endif() | 86 | endif() |
| 87 | add_definitions( "${XLNX_CMAKE_BSP_VARS}" ) | 87 | add_definitions( "${XLNX_CMAKE_BSP_VARS} -DSDT" ) |
| 88 | EOF | 88 | EOF |
| 89 | } | 89 | } |
| 90 | 90 | ||
| @@ -96,6 +96,7 @@ do_install() { | |||
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | CFLAGS:append = " ${ESW_CFLAGS}" | 98 | CFLAGS:append = " ${ESW_CFLAGS}" |
| 99 | EXTRA_OECMAKE += "-DYOCTO=ON" | ||
| 99 | 100 | ||
| 100 | # We need to find the license file, which vaires depending on the component | 101 | # We need to find the license file, which vaires depending on the component |
| 101 | # recurse a maximum of x times, could be fancier but it gets complicated since | 102 | # recurse a maximum of x times, could be fancier but it gets complicated since |
