summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-03-19 11:41:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-23 11:48:52 +0000
commite95ccb7d57b1a2a1cd5cdeb2871c0a0cd334d33e (patch)
tree565e5f750ab578c09480149df07f3fc60d4636ae
parent131b66802eea49011ac25d022460ef83dbe86239 (diff)
downloadpoky-e95ccb7d57b1a2a1cd5cdeb2871c0a0cd334d33e.tar.gz
packagegroup-core-tools-debug: split out Eclipse packages
Split out the packages added for Eclipse remote debugging to a separate package group so that we can avoid pulling them in if not using Eclipse. Fixes [YOCTO #3251]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/core-image.bbclass2
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb10
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb2
-rw-r--r--meta/recipes-extended/images/core-image-lsb-sdk.bb2
-rw-r--r--meta/recipes-rt/images/core-image-rt-sdk.bb2
-rw-r--r--meta/recipes-sato/images/core-image-sato-sdk.bb2
6 files changed, 15 insertions, 5 deletions
diff --git a/meta/classes/core-image.bbclass b/meta/classes/core-image.bbclass
index 4c70d329a6..86df91da75 100644
--- a/meta/classes/core-image.bbclass
+++ b/meta/classes/core-image.bbclass
@@ -16,6 +16,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
16# - x11-base - X server with minimal environment 16# - x11-base - X server with minimal environment
17# - x11-sato - OpenedHand Sato environment 17# - x11-sato - OpenedHand Sato environment
18# - tools-debug - debugging tools 18# - tools-debug - debugging tools
19# - eclipse-debug - Eclipse remote debugging support
19# - tools-profile - profiling tools 20# - tools-profile - profiling tools
20# - tools-testapps - tools usable to make some device tests 21# - tools-testapps - tools usable to make some device tests
21# - tools-sdk - SDK (C/C++ compiler, autotools, etc.) 22# - tools-sdk - SDK (C/C++ compiler, autotools, etc.)
@@ -35,6 +36,7 @@ PACKAGE_GROUP_x11 = "packagegroup-core-x11"
35PACKAGE_GROUP_x11-base = "packagegroup-core-x11-base" 36PACKAGE_GROUP_x11-base = "packagegroup-core-x11-base"
36PACKAGE_GROUP_x11-sato = "packagegroup-core-x11-sato" 37PACKAGE_GROUP_x11-sato = "packagegroup-core-x11-sato"
37PACKAGE_GROUP_tools-debug = "packagegroup-core-tools-debug" 38PACKAGE_GROUP_tools-debug = "packagegroup-core-tools-debug"
39PACKAGE_GROUP_eclipse-debug = "packagegroup-core-eclipse-debug"
38PACKAGE_GROUP_tools-profile = "packagegroup-core-tools-profile" 40PACKAGE_GROUP_tools-profile = "packagegroup-core-tools-profile"
39PACKAGE_GROUP_tools-testapps = "packagegroup-core-tools-testapps" 41PACKAGE_GROUP_tools-testapps = "packagegroup-core-tools-testapps"
40PACKAGE_GROUP_tools-sdk = "packagegroup-core-sdk packagegroup-core-standalone-sdk-target" 42PACKAGE_GROUP_tools-sdk = "packagegroup-core-sdk packagegroup-core-standalone-sdk-target"
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb
new file mode 100644
index 0000000000..e7b013d406
--- /dev/null
+++ b/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb
@@ -0,0 +1,10 @@
1SUMMARY = "Remote debugging tools for Eclipse integration"
2LICENSE = "MIT"
3
4inherit packagegroup
5
6RDEPENDS_${PN} = "\
7 gdbserver \
8 tcf-agent \
9 openssh-sftp-server \
10 "
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
index a6280fbcf0..f72aae4c9d 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
@@ -22,8 +22,6 @@ MTRACE_libc-glibc = "libc-mtrace"
22RDEPENDS_${PN} = "\ 22RDEPENDS_${PN} = "\
23 gdb \ 23 gdb \
24 gdbserver \ 24 gdbserver \
25 tcf-agent \
26 openssh-sftp-server \
27 strace \ 25 strace \
28 ${MTRACE} \ 26 ${MTRACE} \
29 " 27 "
diff --git a/meta/recipes-extended/images/core-image-lsb-sdk.bb b/meta/recipes-extended/images/core-image-lsb-sdk.bb
index da8c250d2e..c77425fc39 100644
--- a/meta/recipes-extended/images/core-image-lsb-sdk.bb
+++ b/meta/recipes-extended/images/core-image-lsb-sdk.bb
@@ -4,7 +4,7 @@ DESCRIPTION = "Basic image without X support suitable for Linux Standard Base \
4(LSB) implementations. It includes the full meta-toolchain, plus development \ 4(LSB) implementations. It includes the full meta-toolchain, plus development \
5headers and libraries to form a standalone SDK." 5headers and libraries to form a standalone SDK."
6 6
7IMAGE_FEATURES += "tools-sdk dev-pkgs tools-debug tools-profile tools-testapps debug-tweaks" 7IMAGE_FEATURES += "tools-sdk dev-pkgs tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"
8 8
9IMAGE_INSTALL += "kernel-dev" 9IMAGE_INSTALL += "kernel-dev"
10 10
diff --git a/meta/recipes-rt/images/core-image-rt-sdk.bb b/meta/recipes-rt/images/core-image-rt-sdk.bb
index 58f983f894..db7d581832 100644
--- a/meta/recipes-rt/images/core-image-rt-sdk.bb
+++ b/meta/recipes-rt/images/core-image-rt-sdk.bb
@@ -5,7 +5,7 @@ tools for real-time use. It includes the full meta-toolchain, development \
5headers and libraries to form a standalone SDK." 5headers and libraries to form a standalone SDK."
6DEPENDS = "linux-yocto-rt" 6DEPENDS = "linux-yocto-rt"
7 7
8IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug tools-profile tools-testapps debug-tweaks" 8IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"
9 9
10IMAGE_INSTALL += "rt-tests hwlatdetect kernel-dev" 10IMAGE_INSTALL += "rt-tests hwlatdetect kernel-dev"
11 11
diff --git a/meta/recipes-sato/images/core-image-sato-sdk.bb b/meta/recipes-sato/images/core-image-sato-sdk.bb
index 1caca402f6..882c2bf53d 100644
--- a/meta/recipes-sato/images/core-image-sato-sdk.bb
+++ b/meta/recipes-sato/images/core-image-sato-sdk.bb
@@ -5,7 +5,7 @@ core-image-sato plus meta-toolchain, development headers and libraries to \
5form a standalone SDK." 5form a standalone SDK."
6 6
7IMAGE_FEATURES += "dev-pkgs tools-sdk qt4-pkgs \ 7IMAGE_FEATURES += "dev-pkgs tools-sdk qt4-pkgs \
8 tools-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh" 8 tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh"
9 9
10IMAGE_INSTALL += "kernel-dev" 10IMAGE_INSTALL += "kernel-dev"
11 11