diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/package_manager/ipk/sdk.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/lib/oe/package_manager/ipk/sdk.py b/meta/lib/oe/package_manager/ipk/sdk.py index 37af0344eb..e2ca415c8e 100644 --- a/meta/lib/oe/package_manager/ipk/sdk.py +++ b/meta/lib/oe/package_manager/ipk/sdk.py | |||
@@ -14,6 +14,12 @@ class PkgSdk(Sdk): | |||
14 | def __init__(self, d, manifest_dir=None): | 14 | def __init__(self, d, manifest_dir=None): |
15 | super(PkgSdk, self).__init__(d, manifest_dir) | 15 | super(PkgSdk, self).__init__(d, manifest_dir) |
16 | 16 | ||
17 | # In sdk_list_installed_packages the call to opkg is hardcoded to | ||
18 | # always use IPKGCONF_TARGET and there's no exposed API to change this | ||
19 | # so simply override IPKGCONF_TARGET to use this separated config file. | ||
20 | ipkgconf_sdk_target = d.getVar("IPKGCONF_SDK_TARGET") | ||
21 | d.setVar("IPKGCONF_TARGET", ipkgconf_sdk_target) | ||
22 | |||
17 | self.target_conf = self.d.getVar("IPKGCONF_TARGET") | 23 | self.target_conf = self.d.getVar("IPKGCONF_TARGET") |
18 | self.host_conf = self.d.getVar("IPKGCONF_SDK") | 24 | self.host_conf = self.d.getVar("IPKGCONF_SDK") |
19 | 25 | ||