summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 517b4e45ff..4aabafa079 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -750,6 +750,11 @@ fakeroot python do_populate_sdk_ext() {
750 if d.getVar('SDK_ARCH') != d.getVar('BUILD_ARCH'): 750 if d.getVar('SDK_ARCH') != d.getVar('BUILD_ARCH'):
751 bb.fatal('The extensible SDK can currently only be built for the same architecture as the machine being built on - SDK_ARCH is set to %s (likely via setting SDKMACHINE) which is different from the architecture of the build machine (%s). Unable to continue.' % (d.getVar('SDK_ARCH'), d.getVar('BUILD_ARCH'))) 751 bb.fatal('The extensible SDK can currently only be built for the same architecture as the machine being built on - SDK_ARCH is set to %s (likely via setting SDKMACHINE) which is different from the architecture of the build machine (%s). Unable to continue.' % (d.getVar('SDK_ARCH'), d.getVar('BUILD_ARCH')))
752 752
753 # FIXME hopefully we can remove this restriction at some point, but the eSDK
754 # can only be built for the primary (default) multiconfig
755 if d.getVar('BB_CURRENT_MC') != 'default':
756 bb.fatal('The extensible SDK can currently only be built for the default multiconfig. Currently trying to build for %s.' % d.getVar('BB_CURRENT_MC'))
757
753 d.setVar('SDK_INSTALL_TARGETS', get_sdk_install_targets(d)) 758 d.setVar('SDK_INSTALL_TARGETS', get_sdk_install_targets(d))
754 if d.getVar('SDK_INCLUDE_BUILDTOOLS') == '1': 759 if d.getVar('SDK_INCLUDE_BUILDTOOLS') == '1':
755 buildtools_fn = get_current_buildtools(d) 760 buildtools_fn = get_current_buildtools(d)