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.

Signed-off-by: Alexander Kanavin <a...@linutronix.de>
---
 meta/classes-recipe/populate_sdk_ext.bbclass | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass 
b/meta/classes-recipe/populate_sdk_ext.bbclass
index 028d0c1ff54..173b3065b00 100644
--- a/meta/classes-recipe/populate_sdk_ext.bbclass
+++ b/meta/classes-recipe/populate_sdk_ext.bbclass
@@ -635,13 +635,6 @@ install_tools() {
                        test -e ${targetscriptfn} || ln -rs ${scriptfn} 
${targetscriptfn}
                done
        done
-       # We can't use the same method as above because files in the sysroot 
won't exist at this point
-       # (they get populated from sstate on installation)
-       unfsd_path="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/unfsd"
-       if [ "${SDK_INCLUDE_TOOLCHAIN}" = "1" -a ! -e $unfsd_path ] ; then
-               
binrelpath=${@os.path.relpath(d.getVar('STAGING_BINDIR_NATIVE'), 
d.getVar('TMPDIR'))}
-               ln -rs ${SDK_OUTPUT}/${SDKPATH}/tmp/$binrelpath/unfsd 
$unfsd_path
-       fi
        touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase
 
        # find latest buildtools-tarball and install it
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#190148): 
https://lists.openembedded.org/g/openembedded-core/message/190148
Mute This Topic: https://lists.openembedded.org/mt/102361112/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to