Message ID | fe439e296f7b5f6d6b126952ba8aa3812d31d4e8.1641787452.git.anuj.mittal@intel.com |
---|---|
State | Accepted, archived |
Commit | 011b7d4fa114141e9c18b827e2e86980236d3e7e |
Headers | show |
Series | [honister,01/10] linux-yocto: add libmpc-native to DEPENDS | expand |
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py index 37b59afd1a..27347667e8 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py @@ -115,6 +115,10 @@ def sdk_list_installed_packages(d, target, rootfs_dir=None): rootfs_dir = [sdk_output, os.path.join(sdk_output, target_path)][target is True] + if target is False: + ipkgconf_sdk_target = d.getVar("IPKGCONF_SDK") + d.setVar("IPKGCONF_TARGET", ipkgconf_sdk_target) + img_type = d.getVar('IMAGE_PKGTYPE') import importlib cls = importlib.import_module('oe.package_manager.' + img_type)