]> 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, 24 Apr 2015 10:09:19 +0000 (11:09 +0100)
commit4c0ae7cce06de15f6881654ecec7f8bb743ff389
treef7920fb3aad22fcf0b7f689e06bf78283971e437
parent8f905077aaed3dbeeed04787add1cf725fa87bdc
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]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/classes/populate_sdk_base.bbclass