Introduce and use nativesdk-packagegroup-python , which contains all
necessary python components for the native SDK. Make use of this
package group in buildtools-tarball.bb immediatelly.

Signed-off-by: Marek Vasut <ma...@denx.de>
---
 meta/recipes-core/meta/buildtools-tarball.bb       | 28 +----------------
 .../python/nativesdk-packagegroup-python.bb        | 36 ++++++++++++++++++++++
 2 files changed, 37 insertions(+), 27 deletions(-)
 create mode 100644 
meta/recipes-devtools/python/nativesdk-packagegroup-python.bb

diff --git a/meta/recipes-core/meta/buildtools-tarball.bb 
b/meta/recipes-core/meta/buildtools-tarball.bb
index 62e1e0b..7d20238 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -8,33 +8,7 @@ LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d
 TOOLCHAIN_TARGET_TASK ?= ""
 
 TOOLCHAIN_HOST_TASK ?= "\
-    nativesdk-python-core \
-    nativesdk-python-textutils \
-    nativesdk-python-sqlite3 \
-    nativesdk-python-pickle \
-    nativesdk-python-logging \
-    nativesdk-python-elementtree \
-    nativesdk-python-curses \
-    nativesdk-python-compile \
-    nativesdk-python-compiler \
-    nativesdk-python-fcntl \
-    nativesdk-python-shell \
-    nativesdk-python-misc \
-    nativesdk-python-multiprocessing \
-    nativesdk-python-subprocess \
-    nativesdk-python-xmlrpc \
-    nativesdk-python-netclient \
-    nativesdk-python-netserver \
-    nativesdk-python-distutils \
-    nativesdk-python-unixadmin \
-    nativesdk-python-compression \
-    nativesdk-python-json \
-    nativesdk-python-unittest \
-    nativesdk-python-mmap \
-    nativesdk-python-difflib \
-    nativesdk-python-pprint \
-    nativesdk-python-git \
-    nativesdk-python-pkgutil \
+    nativesdk-packagegroup-python \
     nativesdk-ncurses-terminfo-base \
     nativesdk-chrpath \
     nativesdk-tar \
diff --git a/meta/recipes-devtools/python/nativesdk-packagegroup-python.bb 
b/meta/recipes-devtools/python/nativesdk-packagegroup-python.bb
new file mode 100644
index 0000000..fdc1006
--- /dev/null
+++ b/meta/recipes-devtools/python/nativesdk-packagegroup-python.bb
@@ -0,0 +1,36 @@
+SUMMARY = "NativeSDK Python package group"
+DESCRIPTION = "NativeSDK Python package group"
+PR = "r0"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = "                             \
+       nativesdk-python-core                   \
+       nativesdk-python-textutils              \
+       nativesdk-python-sqlite3                \
+       nativesdk-python-pickle                 \
+       nativesdk-python-logging                \
+       nativesdk-python-elementtree            \
+       nativesdk-python-curses                 \
+       nativesdk-python-compile                \
+       nativesdk-python-compiler               \
+       nativesdk-python-fcntl                  \
+       nativesdk-python-shell                  \
+       nativesdk-python-misc                   \
+       nativesdk-python-multiprocessing        \
+       nativesdk-python-subprocess             \
+       nativesdk-python-xmlrpc                 \
+       nativesdk-python-netclient              \
+       nativesdk-python-netserver              \
+       nativesdk-python-distutils              \
+       nativesdk-python-unixadmin              \
+       nativesdk-python-compression            \
+       nativesdk-python-json                   \
+       nativesdk-python-unittest               \
+       nativesdk-python-mmap                   \
+       nativesdk-python-difflib                \
+       nativesdk-python-pprint                 \
+       nativesdk-python-git                    \
+       nativesdk-python-pkgutil                \
+    "
-- 
2.0.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to