From dc08776ef38497e5d74958b3324728e1abf6c0b5 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 3 Jul 2023 22:34:48 +0800 Subject: [PATCH] python3: Use regular package recipes for python3 package There is no need to use Py3Package for python3 as it does not package any Python files; it is an empty package with dependencies to install the full Python installation. Signed-off-by: Jeffery To (cherry picked from commit 87631ecdd4ece794ae600d35e259cc1227795313) --- lang/python/python3/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 58ea2e0e01..0d9e254055 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -264,11 +264,7 @@ define Py3Package/python3-base/install endef Py3Package/python3-light/install:=: -Py3Package/python3/install:=: - -define Py3Package/python3/filespec --|$(PYTHON3_PKG_DIR) -endef +Package/python3/install:=: # libuuid is provided by e2fsprogs and uuid/uuid.h is moved into # $(STAGING_DIR_HOST)/include/e2fsprogs @@ -351,14 +347,13 @@ $(foreach package, $(PYTHON3_PACKAGES), \ ) $(eval $(call BuildPackage,libpython3)) +$(eval $(call BuildPackage,python3)) $(eval $(call Py3Package,python3-base)) $(eval $(call Py3Package,python3-light)) -$(eval $(call Py3Package,python3)) $(eval $(call BuildPackage,python3-base)) $(eval $(call BuildPackage,python3-light)) -$(eval $(call BuildPackage,python3)) $(eval $(call BuildPackage,python3-base-src)) $(eval $(call BuildPackage,python3-light-src)) -- 2.30.2