diff options
| -rw-r--r-- | meta/classes-recipe/cross.bbclass | 3 | ||||
| -rw-r--r-- | meta/classes-recipe/native.bbclass | 3 | ||||
| -rw-r--r-- | meta/conf/distro/include/debug_build.inc | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/meta/classes-recipe/cross.bbclass b/meta/classes-recipe/cross.bbclass index 9abf166e50..ede04950b5 100644 --- a/meta/classes-recipe/cross.bbclass +++ b/meta/classes-recipe/cross.bbclass | |||
| @@ -23,8 +23,7 @@ HOST_CC_ARCH = "${BUILD_CC_ARCH}" | |||
| 23 | HOST_LD_ARCH = "${BUILD_LD_ARCH}" | 23 | HOST_LD_ARCH = "${BUILD_LD_ARCH}" |
| 24 | HOST_AS_ARCH = "${BUILD_AS_ARCH}" | 24 | HOST_AS_ARCH = "${BUILD_AS_ARCH}" |
| 25 | 25 | ||
| 26 | # No strip sysroot when DEBUG_BUILD is enabled | 26 | INHIBIT_SYSROOT_STRIP ??= "" |
| 27 | INHIBIT_SYSROOT_STRIP ?= "${@oe.utils.vartrue('DEBUG_BUILD', '1', '', d)}" | ||
| 28 | 27 | ||
| 29 | export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir} /lib /lib64 /usr/lib /usr/lib64" | 28 | export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir} /lib /lib64 /usr/lib /usr/lib64" |
| 30 | 29 | ||
diff --git a/meta/classes-recipe/native.bbclass b/meta/classes-recipe/native.bbclass index 7d1fe343fa..b3411d20ca 100644 --- a/meta/classes-recipe/native.bbclass +++ b/meta/classes-recipe/native.bbclass | |||
| @@ -118,8 +118,7 @@ PATH:prepend = "${COREBASE}/scripts/native-intercept:" | |||
| 118 | # reused if we manipulate the paths. | 118 | # reused if we manipulate the paths. |
| 119 | SSTATE_SCAN_CMD ?= "${SSTATE_SCAN_CMD_NATIVE}" | 119 | SSTATE_SCAN_CMD ?= "${SSTATE_SCAN_CMD_NATIVE}" |
| 120 | 120 | ||
| 121 | # No strip sysroot when DEBUG_BUILD is enabled | 121 | INHIBIT_SYSROOT_STRIP ??= "" |
| 122 | INHIBIT_SYSROOT_STRIP ?= "${@oe.utils.vartrue('DEBUG_BUILD', '1', '', d)}" | ||
| 123 | 122 | ||
| 124 | python native_virtclass_handler () { | 123 | python native_virtclass_handler () { |
| 125 | import re | 124 | import re |
diff --git a/meta/conf/distro/include/debug_build.inc b/meta/conf/distro/include/debug_build.inc index c006093345..1062326417 100644 --- a/meta/conf/distro/include/debug_build.inc +++ b/meta/conf/distro/include/debug_build.inc | |||
| @@ -40,3 +40,7 @@ EXTRA_OECONF:append:pn-nativesdk-debugedit = " --disable-inlined-xxhash" | |||
| 40 | lcl_maybe_fortify:pn-vim = "" | 40 | lcl_maybe_fortify:pn-vim = "" |
| 41 | 41 | ||
| 42 | CXXFLAGS:append:pn-vulkan-validation-layers = " -DXXH_NO_INLINE_HINTS=1" | 42 | CXXFLAGS:append:pn-vulkan-validation-layers = " -DXXH_NO_INLINE_HINTS=1" |
| 43 | |||
| 44 | # No strip sysroot for cross and native | ||
| 45 | INHIBIT_SYSROOT_STRIP:class-cross ?= "1" | ||
| 46 | INHIBIT_SYSROOT_STRIP:class-native ?= "1" | ||
