]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_base: avoid executing empty function
authorChen Qi <Qi.Chen@windriver.com>
Fri, 24 Apr 2015 06:26:54 +0000 (14:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 May 2015 17:12:09 +0000 (18:12 +0100)
commit7c0c2b3037dfc2790446968572daf5bf0a17e2f8
treecc991270be5529b2eec298db73fe4dcefdad6954
parente94864c1589986fb8a59ee86cae0fd3b430ebf09
populate_sdk_base: avoid executing empty function

`bitbake uninative-tarball' raises the following warning.

    WARNING: Function  doesn't exist

This is because SDK_PACKAGING_FUNC is set to "" in its recipe.
Anyway, we need to check this variable to avoid executing empty function.

[YOCTO #7598]

(From OE-Core rev: 4c0ae7cce06de15f6881654ecec7f8bb743ff389)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass