| Submitter | Lianhao Lu |
|---|---|
| Date | June 20, 2012, 4:25 a.m. |
| Message ID | <622f94dd940787bff2cf59299be285cfb6ddec98.1340166208.git.lianhao.lu@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/30243/ |
| State | New |
| Headers | show |
Comments
On 06/19/2012 09:25 PM, Lianhao Lu wrote: > Added a new IMAGE_FEATURES eclipse-support to support developing user > applications through Eclipse plugin. > Do we really need a new IMAGE_FEATURE? We already have tools-debug which includes the tcf-agent, can we not just add the openssh-sftp-server package to the task-core-tools-debug.bb? That would work and not add yet another IMAGE_FEATURE. Sau! > Signed-off-by: Lianhao Lu<lianhao.lu@intel.com> > --- > meta/classes/core-image.bbclass | 2 ++ > meta/conf/multilib.conf | 1 + > .../tasks/task-core-eclipse-support.bb | 17 +++++++++++++++++ > meta/recipes-sato/images/core-image-sato-sdk.bb | 2 +- > 4 files changed, 21 insertions(+), 1 deletions(-) > create mode 100644 meta/recipes-core/tasks/task-core-eclipse-support.bb > > diff --git a/meta/classes/core-image.bbclass b/meta/classes/core-image.bbclass > index 6b207d7..8505d6f 100644 > --- a/meta/classes/core-image.bbclass > +++ b/meta/classes/core-image.bbclass > @@ -28,6 +28,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 > # - ssh-server-dropbear - SSH server (dropbear) > # - ssh-server-openssh - SSH server (openssh) > # - debug-tweaks - makes an image suitable for development > +# - eclipse-support - Support Eclipse plugin > # > PACKAGE_GROUP_apps-console-core = "task-core-apps-console" > PACKAGE_GROUP_x11-mini = "task-core-x11-mini" > @@ -46,6 +47,7 @@ PACKAGE_GROUP_ssh-server-dropbear = "task-core-ssh-dropbear" > PACKAGE_GROUP_ssh-server-openssh = "task-core-ssh-openssh" > PACKAGE_GROUP_package-management = "${ROOTFS_PKGMANAGE}" > PACKAGE_GROUP_qt4-pkgs = "task-core-qt-demos" > +PACKAGE_GROUP_eclipse-support = "task-core-eclipse-support task-core-tools-debug task-core-tools-profile" > > > # IMAGE_FEAETURES_REPLACES_foo = 'bar1 bar2' > diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf > index cea8694..ee21d40 100644 > --- a/meta/conf/multilib.conf > +++ b/meta/conf/multilib.conf > @@ -618,6 +618,7 @@ BBCLASSEXTEND_append_pn-task-core-basic = " ${MULTILIBS}" > BBCLASSEXTEND_append_pn-task-core-boot = " ${MULTILIBS}" > BBCLASSEXTEND_append_pn-task-core-clutter = " ${MULTILIBS}" > BBCLASSEXTEND_append_pn-task-core-console = " ${MULTILIBS}" > +BBCLASSEXTEND_append_pn-task-core-eclipse-support = " ${MULTILIBS}" > BBCLASSEXTEND_append_pn-task-core-gtk-directfb = " ${MULTILIBS}" > BBCLASSEXTEND_append_pn-task-core-lsb = " ${MULTILIBS}" > BBCLASSEXTEND_append_pn-task-core-nfs = " ${MULTILIBS}" > diff --git a/meta/recipes-core/tasks/task-core-eclipse-support.bb b/meta/recipes-core/tasks/task-core-eclipse-support.bb > new file mode 100644 > index 0000000..78a21a4 > --- /dev/null > +++ b/meta/recipes-core/tasks/task-core-eclipse-support.bb > @@ -0,0 +1,17 @@ > +DESCRIPTION = "Agent for Eclipse plugin task for Poky" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ > + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" > +PR = "r0" > + > +PACKAGES = "\ > + ${PN} \ > + ${PN}-dev \ > + ${PN}-dbg \ > + " > + > +ALLOW_EMPTY = "1" > + > +RDEPENDS_${PN} = "tcf-agent \ > + openssh-sftp-server \ > + " > diff --git a/meta/recipes-sato/images/core-image-sato-sdk.bb b/meta/recipes-sato/images/core-image-sato-sdk.bb > index 5bb9469..0630314 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 @@ DESCRIPTION = "Image with Sato support that includes everything within \ > core-image-sato plus meta-toolchain, development headers and libraries to \ > form a standalone SDK." > > -IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} dev-pkgs tools-sdk qt4-pkgs" > +IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} dev-pkgs tools-sdk qt4-pkgs eclipse-support" > EXTRA_IMAGE_FEATURES += "tools-debug tools-profile tools-testapps debug-tweaks" > > SSHSERVER_IMAGE_FEATURES = "ssh-server-openssh"
Patch
diff --git a/meta/classes/core-image.bbclass b/meta/classes/core-image.bbclass index 6b207d7..8505d6f 100644 --- a/meta/classes/core-image.bbclass +++ b/meta/classes/core-image.bbclass @@ -28,6 +28,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 # - ssh-server-dropbear - SSH server (dropbear) # - ssh-server-openssh - SSH server (openssh) # - debug-tweaks - makes an image suitable for development +# - eclipse-support - Support Eclipse plugin # PACKAGE_GROUP_apps-console-core = "task-core-apps-console" PACKAGE_GROUP_x11-mini = "task-core-x11-mini" @@ -46,6 +47,7 @@ PACKAGE_GROUP_ssh-server-dropbear = "task-core-ssh-dropbear" PACKAGE_GROUP_ssh-server-openssh = "task-core-ssh-openssh" PACKAGE_GROUP_package-management = "${ROOTFS_PKGMANAGE}" PACKAGE_GROUP_qt4-pkgs = "task-core-qt-demos" +PACKAGE_GROUP_eclipse-support = "task-core-eclipse-support task-core-tools-debug task-core-tools-profile" # IMAGE_FEAETURES_REPLACES_foo = 'bar1 bar2' diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf index cea8694..ee21d40 100644 --- a/meta/conf/multilib.conf +++ b/meta/conf/multilib.conf @@ -618,6 +618,7 @@ BBCLASSEXTEND_append_pn-task-core-basic = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-task-core-boot = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-task-core-clutter = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-task-core-console = " ${MULTILIBS}" +BBCLASSEXTEND_append_pn-task-core-eclipse-support = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-task-core-gtk-directfb = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-task-core-lsb = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-task-core-nfs = " ${MULTILIBS}" diff --git a/meta/recipes-core/tasks/task-core-eclipse-support.bb b/meta/recipes-core/tasks/task-core-eclipse-support.bb new file mode 100644 index 0000000..78a21a4 --- /dev/null +++ b/meta/recipes-core/tasks/task-core-eclipse-support.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Agent for Eclipse plugin task for Poky" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +PR = "r0" + +PACKAGES = "\ + ${PN} \ + ${PN}-dev \ + ${PN}-dbg \ + " + +ALLOW_EMPTY = "1" + +RDEPENDS_${PN} = "tcf-agent \ + openssh-sftp-server \ + " diff --git a/meta/recipes-sato/images/core-image-sato-sdk.bb b/meta/recipes-sato/images/core-image-sato-sdk.bb index 5bb9469..0630314 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 @@ DESCRIPTION = "Image with Sato support that includes everything within \ core-image-sato plus meta-toolchain, development headers and libraries to \ form a standalone SDK." -IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} dev-pkgs tools-sdk qt4-pkgs" +IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} dev-pkgs tools-sdk qt4-pkgs eclipse-support" EXTRA_IMAGE_FEATURES += "tools-debug tools-profile tools-testapps debug-tweaks" SSHSERVER_IMAGE_FEATURES = "ssh-server-openssh"
Added a new IMAGE_FEATURES eclipse-support to support developing user applications through Eclipse plugin. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> --- meta/classes/core-image.bbclass | 2 ++ meta/conf/multilib.conf | 1 + .../tasks/task-core-eclipse-support.bb | 17 +++++++++++++++++ meta/recipes-sato/images/core-image-sato-sdk.bb | 2 +- 4 files changed, 21 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-core/tasks/task-core-eclipse-support.bb