diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cross.bbclass | 3 | ||||
-rw-r--r-- | meta/classes/native.bbclass | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 34d7951f3f..f832561daf 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass | |||
@@ -17,6 +17,9 @@ HOST_CC_ARCH = "${BUILD_CC_ARCH}" | |||
17 | HOST_LD_ARCH = "${BUILD_LD_ARCH}" | 17 | HOST_LD_ARCH = "${BUILD_LD_ARCH}" |
18 | HOST_AS_ARCH = "${BUILD_AS_ARCH}" | 18 | HOST_AS_ARCH = "${BUILD_AS_ARCH}" |
19 | 19 | ||
20 | # No strip sysroot when DEBUG_BUILD is enabled | ||
21 | INHIBIT_SYSROOT_STRIP ?= "${@oe.utils.vartrue('DEBUG_BUILD', '1', '', d)}" | ||
22 | |||
20 | export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir} /lib /lib64 /usr/lib /usr/lib64" | 23 | export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir} /lib /lib64 /usr/lib /usr/lib64" |
21 | 24 | ||
22 | STAGING_DIR_HOST = "${RECIPE_SYSROOT_NATIVE}" | 25 | STAGING_DIR_HOST = "${RECIPE_SYSROOT_NATIVE}" |
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index ddccfe2e1d..30a30f924d 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -119,6 +119,9 @@ PATH_prepend = "${COREBASE}/scripts/native-intercept:" | |||
119 | # reused if we manipulate the paths. | 119 | # reused if we manipulate the paths. |
120 | SSTATE_SCAN_CMD ?= "${SSTATE_SCAN_CMD_NATIVE}" | 120 | SSTATE_SCAN_CMD ?= "${SSTATE_SCAN_CMD_NATIVE}" |
121 | 121 | ||
122 | # No strip sysroot when DEBUG_BUILD is enabled | ||
123 | INHIBIT_SYSROOT_STRIP ?= "${@oe.utils.vartrue('DEBUG_BUILD', '1', '', d)}" | ||
124 | |||
122 | python native_virtclass_handler () { | 125 | python native_virtclass_handler () { |
123 | pn = e.data.getVar("PN") | 126 | pn = e.data.getVar("PN") |
124 | if not pn.endswith("-native"): | 127 | if not pn.endswith("-native"): |