diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-11-03 11:28:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-05 08:44:06 +0000 |
commit | c7bd942988a0a2996b8055c221122d80e91001db (patch) | |
tree | e60cbe083aad04983a53b3b7618297997418f92b /meta/classes-recipe | |
parent | 7ffa4d4044b9288eefa44fcc80c246a4def2435b (diff) | |
download | poky-c7bd942988a0a2996b8055c221122d80e91001db.tar.gz |
populate_sdk_ext.bbclass: do not symlink unfsd from sdk image sysroot into eSDK tools path
This was done in 2016 to support Eclipse plugin (long dead),
it's currently broken as image sysroot is not in the SDK
until the image is built in that context, and current tools
all rely on runqemu-export-rootfs which does not rely on PATH
and runs unfsd with full path to recipe-specific sysroots.
(From OE-Core rev: 0f1361061c8c0b16ea2b50349b08a3b03140c45c)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r-- | meta/classes-recipe/populate_sdk_ext.bbclass | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass index 028d0c1ff5..173b3065b0 100644 --- a/meta/classes-recipe/populate_sdk_ext.bbclass +++ b/meta/classes-recipe/populate_sdk_ext.bbclass | |||
@@ -635,13 +635,6 @@ install_tools() { | |||
635 | test -e ${targetscriptfn} || ln -rs ${scriptfn} ${targetscriptfn} | 635 | test -e ${targetscriptfn} || ln -rs ${scriptfn} ${targetscriptfn} |
636 | done | 636 | done |
637 | done | 637 | done |
638 | # We can't use the same method as above because files in the sysroot won't exist at this point | ||
639 | # (they get populated from sstate on installation) | ||
640 | unfsd_path="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/unfsd" | ||
641 | if [ "${SDK_INCLUDE_TOOLCHAIN}" = "1" -a ! -e $unfsd_path ] ; then | ||
642 | binrelpath=${@os.path.relpath(d.getVar('STAGING_BINDIR_NATIVE'), d.getVar('TMPDIR'))} | ||
643 | ln -rs ${SDK_OUTPUT}/${SDKPATH}/tmp/$binrelpath/unfsd $unfsd_path | ||
644 | fi | ||
645 | touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase | 638 | touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase |
646 | 639 | ||
647 | # find latest buildtools-tarball and install it | 640 | # find latest buildtools-tarball and install it |