cmake-lib.bbclass: do not try to align native(sdk) sysroots

currently native(sdk) sysroots don't need alignment.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2015-09-11 00:30:17 +02:00
parent 321a09c211
commit 3a7bcc9ea2

View File

@@ -77,6 +77,10 @@ sysroot_stage_dir_append() {
# 4. Handle CMAKE_ALIGN_SYSROOT
python do_populate_sysroot_append() {
# we don't care for native(sdk) sysroot
if bb.data.inherits_class('nativesdk', d) or bb.data.inherits_class('native', d):
return
pn = d.getVar('PN', True)
# parse single parameter in CMAKE_ALIGN_SYSROOT[..] and return array of line strings extracted