diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-01-23 22:53:11 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-26 13:39:37 +0000 |
commit | 043d6ac1f6daec64e3ead5549cd415d1cad16201 (patch) | |
tree | ae0622937eca3318bd98377bdd848d2e7940c94b /meta/classes/native.bbclass | |
parent | ac1c19302d061d9ee6a02739fcf4381a394d9d8b (diff) | |
download | poky-043d6ac1f6daec64e3ead5549cd415d1cad16201.tar.gz |
native.bbclass/cross.bbclass: No strip sysroot when DEBUG_BUILD
This makes dbg work for native tools, and makes debug native tools problem
easier, otherwise, there is no symbol since trippped.
(From OE-Core rev: 1d903485da26fec991b4a940182e32934220e19b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r-- | meta/classes/native.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
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"): |