[PATCH] base: Drop do_package base definition


Richard Purdie
 

I can't see how anyone would be using this very old package function definition
since package.bbclass is always inherited in modern OE. All it seems to do
is waste CPU cycles. Drop it and it's associated EXPORT_FUNCTIONS entry.

Signed-off-by: Richard Purdie <richard.purdie@...>
---
meta/classes-global/base.bbclass | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass
index 8203f545192..c81aa51ef3f 100644
--- a/meta/classes-global/base.bbclass
+++ b/meta/classes-global/base.bbclass
@@ -381,10 +381,6 @@ base_do_install() {
:
}

-base_do_package() {
- :
-}
-
addtask build after do_populate_sysroot
do_build[noexec] = "1"
do_build[recrdeptask] += "do_deploy"
@@ -786,4 +782,4 @@ python do_cleanall() {
do_cleanall[nostamp] = "1"


-EXPORT_FUNCTIONS do_fetch do_unpack do_configure do_compile do_install do_package
+EXPORT_FUNCTIONS do_fetch do_unpack do_configure do_compile do_install
--
2.34.1