[oe-commits] [openembedded-core] 56/60: classes/populate_sdk_ext: add gdb to full extensible SDK

git at git.openembedded.org git at git.openembedded.org
Mon Jul 25 08:59:23 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit f26a9d7b3197e7c9da55854986354bf86d0e97ec
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Sat Jul 23 00:38:12 2016 +1200

    classes/populate_sdk_ext: add gdb to full extensible SDK
    
    If SDK_EXT_TYPE is set to "full" then we really ought to be shipping
    everything that is expected to be in the SDK, and that includes gdb
    (it's already referred to by the environment setup script if nothing
    else). This is implemented by using the SDK_INCLUDE_TOOLCHAIN
    functionality I just added, since the only material thing that adds on
    top of a full SDK is gdb and we should always have the rest of it in a
    full SDK anyway.
    
    Fixes [YOCTO #9850].
    
    Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/populate_sdk_ext.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index ce8c8ff..f6b0834 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -21,7 +21,7 @@ SDK_EXT_task-populate-sdk-ext = "-ext"
 # Options are full or minimal
 SDK_EXT_TYPE ?= "full"
 SDK_INCLUDE_PKGDATA ?= "0"
-SDK_INCLUDE_TOOLCHAIN ?= "0"
+SDK_INCLUDE_TOOLCHAIN ?= "${@'1' if d.getVar('SDK_EXT_TYPE', True) == 'full' else '0'}"
 
 SDK_RECRDEP_TASKS ?= ""
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list