<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10600</bug_id>
          
          <creation_ts>2016-11-04 03:52:14 +0000</creation_ts>
          <short_desc>eSDK: add a more practical means of adding components at build time</short_desc>
          <delta_ts>2025-07-03 15:32:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>eSDK</product>
          <component>eSDK</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>wmills</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67960</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-11-04 03:52:14 +0000</bug_when>
    <thetext>At the moment there are a couple of ways of adding components to the eSDK at build time should you wish to add some that weren&apos;t already accounted for by dependencies in the image:

1) You can add the full task name to SDK_TARGETS, e.g. in the image recipe (after the inherit!):

  SDK_TARGETS += &quot;btrfs-tools-native:do_populate_sysroot&quot;

2) Modify meta-extsdk-toolchain and add the items you want to DEPENDS (ensuring that SDK_INCLUDE_TOOLCHAIN = &quot;1&quot; if you are using SDK_EXT_TYPE = &quot;minimal&quot;

Neither of these methods is particularly convenient. It should be possible to add just the native recipe name to a variable and have it work, and probably we want it to install the named items into the SDK regardless of whether SDK_EXT_TYPE is &quot;minimal&quot; or &quot;full&quot; (because the alternative behaviour in the minimal case of building things to make them available for installation after eSDK install is trivially easy, we don&apos;t need another variable for that).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67961</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-11-04 03:53:11 +0000</bug_when>
    <thetext>I should note that this is the eSDK equivalent of the standard SDK&apos;s TOOLCHAIN_HOST_TASK (and probably TOOLCHAIN_TARGET_TASK for that matter).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68215</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-11-10 15:41:20 +0000</bug_when>
    <thetext>I&apos;m sure there&apos;s a good reason, but shouldn&apos;t it be possible to extend SDK and eSDK the same way?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68225</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-11-10 17:32:00 +0000</bug_when>
    <thetext>Potentially - the issue is that the namespace is entirely different. eSDK&apos;s host part is the native sysroot, whereas the standard SDK uses a nativesdk sysroot for the same thing, so TOOLCHAIN_HOST_TASK is expressed in terms of nativesdk packages.

We could certainly translate all the items in TOOLCHAIN_HOST_TASK to native recipes, I just worry that there won&apos;t always be a 1-1 match.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95853</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-06-29 16:38:24 +0000</bug_when>
    <thetext>Still worth doing when we have the people available. -- YP bug review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102406</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-07-03 15:32:52 +0000</bug_when>
    <thetext>Still worth doing when we have the people available. -- YP bug review.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>