Skip to contentSkip to conversation

Tidy up tools-debug package group

RFC PATCH New Paul Eggleton 1 participant 3 messages Mar 19, 2013

lore
Share & tools
lore
#0 lore raw

cover Tidy up tools-debug package group

Remove rsync from packagegroup-core-tools-debug (since it was added for Anjuta and will now be brought in by anjuta-remote-run), and move the packages required for Eclipse support to their own packagegroup.

If there's a compelling reason for rsync to be left in or I've missed something please let me know.

Please review the following changes for suitability for inclusion. If you have any objections or suggestions for improvement, please respond to the patches. If you agree with the changes, please provide your Acked-by.

The following changes since commit 7032d559c04bae09e6b7c39ddeb1bf35acc0584c:

syslinux.bbclass: Add a default serial console option and real boot menu support (2013-03-18 21:42:19 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/eclipse-debug
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/eclipse-debug

Paul Eggleton (2):
packagegroup-core-tools-debug: remove rsync packagegroup-core-tools-debug: split out Eclipse packages

 meta/classes/core-image.bbclass                              |    2 ++
 meta/conf/local.conf.sample                                  |    1 +
 .../packagegroups/packagegroup-core-eclipse-debug.bb         |   10 ++++++++++
 .../packagegroups/packagegroup-core-tools-debug.bb           |    3 ---
 meta/recipes-extended/images/core-image-lsb-sdk.bb           |    2 +-
 meta/recipes-rt/images/core-image-rt-sdk.bb                  |    2 +-
 meta/recipes-sato/images/core-image-sato-sdk.bb              |    2 +-
 7 files changed, 16 insertions(+), 6 deletions(-)
 create mode 100644 meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb
Signature · 1 line
1.7.10.4
#1 lore raw

RFC PATCH 1/2 packagegroup-core-tools-debug: remove rsync

This was added for supporting Anjuta, which is no longer actively supported; in any case the anjuta-remote-run package RDEPENDS on rsync so it will be brought in by that if that is added.

---
 meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb |    1 -
 1 file changed, 1 deletion(-)
meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb +0 -1
index d49f224..a6280fb 100644
@@ -24,7 +24,6 @@ RDEPENDS_${PN} = "\
     gdbserver \
     tcf-agent \
     openssh-sftp-server \
-    rsync \
     strace \
     ${MTRACE} \
     "
Signature · 1 line
1.7.10.4
#2 lore raw

RFC PATCH 2/2 packagegroup-core-tools-debug: split out Eclipse packages

In reply to Paul Eggleton

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].

---
 meta/classes/core-image.bbclass                              |    2 ++
 meta/conf/local.conf.sample                                  |    1 +
 .../packagegroups/packagegroup-core-eclipse-debug.bb         |   10 ++++++++++
 .../packagegroups/packagegroup-core-tools-debug.bb           |    2 --
 meta/recipes-extended/images/core-image-lsb-sdk.bb           |    2 +-
 meta/recipes-rt/images/core-image-rt-sdk.bb                  |    2 +-
 meta/recipes-sato/images/core-image-sato-sdk.bb              |    2 +-
 7 files changed, 16 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb
meta/classes/core-image.bbclass +2 -0
index 4c70d32..86df91d 100644
@@ -16,6 +16,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
 # - x11-base            - X server with minimal environment
 # - x11-sato            - OpenedHand Sato environment
 # - tools-debug         - debugging tools
+# - eclipse-debug       - Eclipse remote debugging support
 # - tools-profile       - profiling tools
 # - tools-testapps      - tools usable to make some device tests
 # - tools-sdk           - SDK (C/C++ compiler, autotools, etc.)
@@ -35,6 +36,7 @@ PACKAGE_GROUP_x11 = "packagegroup-core-x11"
 PACKAGE_GROUP_x11-base = "packagegroup-core-x11-base"
 PACKAGE_GROUP_x11-sato = "packagegroup-core-x11-sato"
 PACKAGE_GROUP_tools-debug = "packagegroup-core-tools-debug"
+PACKAGE_GROUP_eclipse-debug = "packagegroup-core-eclipse-debug"
 PACKAGE_GROUP_tools-profile = "packagegroup-core-tools-profile"
 PACKAGE_GROUP_tools-testapps = "packagegroup-core-tools-testapps"
 PACKAGE_GROUP_tools-sdk = "packagegroup-core-sdk packagegroup-core-standalone-sdk-target"
meta/conf/local.conf.sample +1 -0
index 18de2dd..e1f8c5b 100644
@@ -119,6 +119,7 @@ PACKAGE_CLASSES ?= "package_ipk"
 #                     (useful if you want to develop against libs in the image)
 #  "tools-sdk"      - add development tools (gcc, make, pkgconfig etc.)
 #  "tools-debug"    - add debugging tools (gdb, strace)
+#  "eclipse-debug"  - add Eclipse remote debugging support
 #  "tools-profile"  - add profiling tools (oprofile, exmap, lttng, valgrind)
 #  "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
 #  "debug-tweaks"   - make an image suitable for development
meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb new file +10 -0
new file mode 100644
index 0000000..e7b013d
@@ -0,0 +1,10 @@
+SUMMARY = "Remote debugging tools for Eclipse integration"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = "\
+    gdbserver \
+    tcf-agent \
+    openssh-sftp-server \
+    "
meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb +0 -2
index a6280fb..f72aae4 100644
@@ -22,8 +22,6 @@ MTRACE_libc-glibc = "libc-mtrace"
 RDEPENDS_${PN} = "\
     gdb \
     gdbserver \
-    tcf-agent \
-    openssh-sftp-server \
     strace \
     ${MTRACE} \
     "
meta/recipes-extended/images/core-image-lsb-sdk.bb +1 -1
index da8c250..c77425f 100644
@@ -4,7 +4,7 @@ DESCRIPTION = "Basic image without X support suitable for Linux Standard Base \
 (LSB) implementations. It includes the full meta-toolchain, plus development \
 headers and libraries to form a standalone SDK."
 
-IMAGE_FEATURES += "tools-sdk dev-pkgs tools-debug tools-profile tools-testapps debug-tweaks"
+IMAGE_FEATURES += "tools-sdk dev-pkgs tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"
 
 IMAGE_INSTALL += "kernel-dev"
 
meta/recipes-rt/images/core-image-rt-sdk.bb +1 -1
index 58f983f..db7d581 100644
@@ -5,7 +5,7 @@ tools for real-time use. It includes the full meta-toolchain, development \
 headers and libraries to form a standalone SDK."
 DEPENDS = "linux-yocto-rt"
 
-IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug tools-profile tools-testapps debug-tweaks"
+IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"
 
 IMAGE_INSTALL += "rt-tests hwlatdetect kernel-dev"
 
meta/recipes-sato/images/core-image-sato-sdk.bb +1 -1
index 1caca40..882c2bf 100644
@@ -5,7 +5,7 @@ core-image-sato plus meta-toolchain, development headers and libraries to \
 form a standalone SDK."
 
 IMAGE_FEATURES += "dev-pkgs tools-sdk qt4-pkgs \
-	tools-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh"
+	tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh"
 
 IMAGE_INSTALL += "kernel-dev"
 
Signature · 1 line
1.7.10.4