package.bbclass: add a stub implementation of package_name_hook
authorRoss Burton <ross.burton@intel.com>
Tue, 1 Jul 2014 15:56:53 +0000 (16:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Jul 2014 16:38:33 +0000 (17:38 +0100)
commite91d840ee5bd7ee28a021c88bf2db91e5231cdf6
tree8d816512534a16003c2dfb29715a63c0d31d4b8e
parentf2e1eb23d9e4b98f84ec7c12ae7e38ac11ee9fc6
package.bbclass: add a stub implementation of package_name_hook

do_package() calls package_name_hook so that e.g. debian-style renaming through
debian.bbclass can happen.  If there is no class providing a package_name_hook
then this causes "WARNING: Function package_name_hook doesn't exist" every time
do_package() is executed.

Silence this warning by providing an empty package_name_hook in package.bbclass.

(From OE-Core rev: f6eb8e4e44b66217e4ada9f830a058c5ba120932)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass