diff options
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index a0856d44f7..26b5ca61d8 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -502,9 +502,10 @@ install_tools() { | |||
502 | done | 502 | done |
503 | # We can't use the same method as above because files in the sysroot won't exist at this point | 503 | # We can't use the same method as above because files in the sysroot won't exist at this point |
504 | # (they get populated from sstate on installation) | 504 | # (they get populated from sstate on installation) |
505 | if [ "${SDK_INCLUDE_TOOLCHAIN}" == "1" ] ; then | 505 | unfsd_path="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/unfsd" |
506 | if [ "${SDK_INCLUDE_TOOLCHAIN}" == "1" -a ! -e $unfsd_path ] ; then | ||
506 | binrelpath=${@os.path.relpath(d.getVar('STAGING_BINDIR_NATIVE',True), d.getVar('TOPDIR', True))} | 507 | binrelpath=${@os.path.relpath(d.getVar('STAGING_BINDIR_NATIVE',True), d.getVar('TOPDIR', True))} |
507 | lnr ${SDK_OUTPUT}/${SDKPATH}/$binrelpath/unfsd ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/unfsd | 508 | lnr ${SDK_OUTPUT}/${SDKPATH}/$binrelpath/unfsd $unfsd_path |
508 | fi | 509 | fi |
509 | touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase | 510 | touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase |
510 | 511 | ||