diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py index 5643199..4a03e96 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py @@ -50,8 +50,9 @@ class Sdk(object): "*.la")) # Link the ld.so.cache file into the hosts filesystem - link_name = os.path.join(self.sdk_output, self.sdk_native_path, - self.sysconfdir, "ld.so.cache") + sysconfdir = os.path.join(self.sdk_output, self.sdk_native_path, self.sysconfdir) + bb.utils.mkdirhier(sysconfdir) + link_name = os.path.join(sysconfdir, "ld.so.cache") os.symlink("/etc/ld.so.cache", link_name) execute_pre_post_process(self.d, self.d.getVar('SDK_POSTPROCESS_COMMAND', True))