From: ronunes@gmail.com
To: meta-freescale@yoctoproject.org
Cc: Rogerio Nunes <rogerio.nunes@freescale.com>
Subject: [meta-fsl-demos][PATCH 2/3] packagegroup-fsl: split packagegroup into multiple recipes
Date: Fri, 24 Jan 2014 18:45:48 -0500 [thread overview]
Message-ID: <1390607149-1853-3-git-send-email-ronunes@gmail.com> (raw)
In-Reply-To: <1390607149-1853-1-git-send-email-ronunes@gmail.com>
From: Rogerio Nunes <rogerio.nunes@freescale.com>
A single packagegroup recipe with multiple packagegroups inside
results in the execution of a huge amount of tasks when any image
that includes at least one packagegroup is baked.
This patch splits the packagegroup-fsl recipe into multiple
recipes. As a consequence, only tasks related to recipes
actually used in an image have tasks added to the execution
queue.
Change-Id: I9a8cd438337caa5601fd4e904c76ed2e8b5dca36
Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
---
.../packagegroups/packagegroup-fsl-gstreamer.bb | 33 ++++++++
.../packagegroup-fsl-tools-benchmark.bb | 20 +++++
.../packagegroup-fsl-tools-testapps.bb | 45 +++++++++++
recipes-fsl/packagegroups/packagegroup-fsl.bb | 89 ----------------------
4 files changed, 98 insertions(+), 89 deletions(-)
create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-gstreamer.bb
create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
delete mode 100644 recipes-fsl/packagegroups/packagegroup-fsl.bb
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer.bb
new file mode 100644
index 0000000..c071e75
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer.bb
@@ -0,0 +1,33 @@
+# Copyright (C) 2012-2014 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Freescale package group - gstreamer"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+PACKAGES += " \
+ ${PN}-streamer \
+"
+
+MACHINE_GSTREAMER_PLUGIN ?= ""
+
+RDEPENDS_${PN} = " \
+ gst-meta-audio \
+ gst-meta-video \
+ gst-meta-debug \
+ gst-plugins-good-meta \
+ ${MACHINE_GSTREAMER_PLUGIN} \
+"
+
+RDEPENDS_${PN}-streamer = " \
+ ${PN} \
+ gst-plugins-good-udp \
+ gst-plugins-good-rtp \
+ gst-plugins-good-rtpmanager \
+ gst-plugins-good-rtsp \
+"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
new file mode 100644
index 0000000..dadefb7
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
@@ -0,0 +1,20 @@
+# Copyright (C) 2012-2014 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Freescale package group - tools/benchmark"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = " \
+ lmbench \
+ bonnie++ \
+ dbench \
+ fio \
+ iozone3 \
+ iperf \
+ nbench-byte \
+ tiobench \
+"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
new file mode 100644
index 0000000..8643991
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
@@ -0,0 +1,45 @@
+# Copyright (C) 2012-2014 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Freescale package group - tools/testapps"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+SOC_TOOLS_TESTAPPS = ""
+SOC_TOOLS_TESTAPPS_mx5 = " \
+ amd-gpu-x11-bin-mx51 \
+"
+
+SOC_TOOLS_TESTAPPS_mx6 = " \
+ gpu-viv-bin-mx6q \
+"
+
+MACHINE_GSTREAMER_PLUGIN ?= ""
+
+RDEPENDS_${PN} = " \
+ ${SOC_TOOLS_TESTAPPS} \
+ ${@base_contains("MACHINE_GSTREAMER_PLUGIN", "gst-fsl-plugin", "gst-fsl-plugin-gplay", "", d)} \
+ alsa-utils \
+ alsa-tools \
+ dosfstools \
+ evtest \
+ e2fsprogs-mke2fs \
+ fsl-rc-local \
+ gst-plugins-base-tcp \
+ i2c-tools \
+ imx-test \
+ iproute2 \
+ memtester \
+ python-subprocess \
+ python-datetime \
+ python-json \
+ ${@base_contains('DISTRO_FEATURES', 'x11', 'v4l-utils', '', d)} \
+ ethtool \
+ mtd-utils \
+ mtd-utils-ubifs \
+"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl.bb b/recipes-fsl/packagegroups/packagegroup-fsl.bb
deleted file mode 100644
index 80ce5a4..0000000
--- a/recipes-fsl/packagegroups/packagegroup-fsl.bb
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright (C) 2012-2013 Freescale Semiconductor
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-DESCRIPTION = "Freescale package group"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
- file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-
-PR = "r5"
-
-inherit packagegroup
-
-PROVIDES = "${PACKAGES}"
-PACKAGES += " \
- ${PN}-gstreamer \
- ${PN}-gstreamer-streamer \
- ${PN}-tools-testapps \
- ${PN}-tools-benchmark \
-"
-
-MACHINE_GSTREAMER_PLUGIN ?= ""
-
-RDEPENDS_${PN}-gstreamer = " \
- gst-meta-audio \
- gst-meta-video \
- gst-meta-debug \
- gst-plugins-good-meta \
- ${MACHINE_GSTREAMER_PLUGIN} \
-"
-
-RDEPENDS_${PN}-gstreamer-streamer = " \
- ${PN}-gstreamer \
- gst-plugins-good-udp \
- gst-plugins-good-rtp \
- gst-plugins-good-rtpmanager \
- gst-plugins-good-rtsp \
-"
-
-SOC_TOOLS_TESTAPPS = ""
-SOC_TOOLS_TESTAPPS_mx5 = " \
- amd-gpu-x11-bin-mx51 \
-"
-
-SOC_TOOLS_TESTAPPS_mx6 = " \
- gpu-viv-bin-mx6q \
-"
-
-RDEPENDS_${PN}-tools-testapps = " \
- ${SOC_TOOLS_TESTAPPS} \
- ${@base_contains("MACHINE_GSTREAMER_PLUGIN", "gst-fsl-plugin", "gst-fsl-plugin-gplay", "", d)} \
- alsa-utils \
- alsa-tools \
- dosfstools \
- evtest \
- e2fsprogs-mke2fs \
- fsl-rc-local \
- gst-plugins-base-tcp \
- i2c-tools \
- imx-test \
- iproute2 \
- memtester \
- python-subprocess \
- python-datetime \
- python-json \
- ${@base_contains('DISTRO_FEATURES', 'x11', 'v4l-utils', '', d)} \
- ethtool \
- mtd-utils \
- mtd-utils-ubifs \
-"
-
-RDEPENDS_${PN}-tools-benchmark = " \
- lmbench \
- bonnie++ \
- dbench \
- fio \
- iozone3 \
- iperf \
- nbench-byte \
- tiobench \
- "
-# Disabled as it has CRC problems in denzil branch
-# cpuburn-neon
-
-ALLOW_EMPTY_${PN} = "1"
-ALLOW_EMPTY_${PN}-gstreamer = "1"
-ALLOW_EMPTY_${PN}-tools-testapps = "1"
-ALLOW_EMPTY_${PN}-tools-benchmark = "1"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
--
1.8.3.2
next prev parent reply other threads:[~2014-01-24 23:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-24 23:45 [meta-fsl-demos][PATCH 0/3] packagegroup refactoring ronunes
2014-01-24 23:45 ` [meta-fsl-demos][PATCH 1/3] packagegroup: rename to packagegroups ronunes
2014-01-25 13:39 ` Fabio Estevam
2014-01-25 18:53 ` Rogerio Nunes
2014-01-25 19:15 ` Daiane Angolini
2014-01-24 23:45 ` ronunes [this message]
2014-01-25 19:21 ` [meta-fsl-demos][PATCH 2/3] packagegroup-fsl: split packagegroup into multiple recipes Daiane Angolini
2014-01-25 20:23 ` Rogerio Nunes
2014-01-25 21:51 ` Otavio Salvador
2014-01-24 23:45 ` [meta-fsl-demos][PATCH 3/3] packagegroup-fsl-tools-testapps: Use amd-gpu-x11-bin-mx51 only with X11 ronunes
2014-01-25 18:48 ` Otavio Salvador
2014-01-25 18:49 ` Otavio Salvador
2014-01-25 18:57 ` Rogerio Nunes
2014-01-25 19:12 ` [meta-fsl-demos][PATCH 0/3] packagegroup refactoring Daiane Angolini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1390607149-1853-3-git-send-email-ronunes@gmail.com \
--to=ronunes@gmail.com \
--cc=meta-freescale@yoctoproject.org \
--cc=rogerio.nunes@freescale.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.