* [PATCH 1/3] sdk.bbclass: allow virtclass-sdk override @ 2010-09-22 22:35 Eric Bénard 2010-09-22 22:35 ` [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator Eric Bénard 0 siblings, 1 reply; 6+ messages in thread From: Eric Bénard @ 2010-09-22 22:35 UTC (permalink / raw) To: openembedded-devel Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Khem Raj <raj.khem@gmail.com> --- classes/sdk.bbclass | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/classes/sdk.bbclass b/classes/sdk.bbclass index 198d147..c8fa076 100644 --- a/classes/sdk.bbclass +++ b/classes/sdk.bbclass @@ -66,3 +66,5 @@ FILES_${PN}-dbg += "${prefix}/.debug \ " export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" + +OVERRIDES .= ":virtclass-sdk" -- 1.6.3.3 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator 2010-09-22 22:35 [PATCH 1/3] sdk.bbclass: allow virtclass-sdk override Eric Bénard @ 2010-09-22 22:35 ` Eric Bénard 2010-09-22 22:35 ` [PATCH 3/3] gdb-cross-sdk: use static libncurses libtinfo libz and libexpat Eric Bénard 2010-09-23 1:55 ` [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator Cliff Brake 0 siblings, 2 replies; 6+ messages in thread From: Eric Bénard @ 2010-09-22 22:35 UTC (permalink / raw) To: openembedded-devel * this links "puts" mkspecs at the place where QTCreator search for it in order to detect a toolchain * thanks to this link QTCreator detects the toolchain generated using meta-toolchain-qte and can cross compile applications without any hack Signed-off-by: Eric Bénard <eric@eukrea.com> --- recipes/qt4/qt4-tools-sdk_4.6.3.bb | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/recipes/qt4/qt4-tools-sdk_4.6.3.bb b/recipes/qt4/qt4-tools-sdk_4.6.3.bb index 1695c19..5f9ef6b 100644 --- a/recipes/qt4/qt4-tools-sdk_4.6.3.bb +++ b/recipes/qt4/qt4-tools-sdk_4.6.3.bb @@ -76,6 +76,10 @@ do_install() { for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do \ ln -s ${i}4 ${i}; \ done) + + # make a symbolic link to mkspecs for compatibility with Nokia's SDK + # and QTCreator + (cd ${D}${bindir}/..; ln -s ${TARGET_SYS}/usr/share/qtopia/mkspecs mkspecs;) } SRC_URI[md5sum] = "5c69f16d452b0bb3d44bc3c10556c072" -- 1.6.3.3 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] gdb-cross-sdk: use static libncurses libtinfo libz and libexpat 2010-09-22 22:35 ` [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator Eric Bénard @ 2010-09-22 22:35 ` Eric Bénard 2010-09-22 23:00 ` Tom Rini 2010-09-23 1:55 ` [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator Cliff Brake 1 sibling, 1 reply; 6+ messages in thread From: Eric Bénard @ 2010-09-22 22:35 UTC (permalink / raw) To: openembedded-devel * statically linking these libs prevents several runtime problems Signed-off-by: Eric Bénard <eric@eukrea.com> --- recipes/gdb/gdb-cross-sdk.inc | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/recipes/gdb/gdb-cross-sdk.inc b/recipes/gdb/gdb-cross-sdk.inc index 7c85653..fbff553 100644 --- a/recipes/gdb/gdb-cross-sdk.inc +++ b/recipes/gdb/gdb-cross-sdk.inc @@ -1,8 +1,19 @@ require gdb-cross.inc LICENSE = "GPLv3" -INC_PR = "r6" +INC_PR = "r7" inherit sdk DEPENDS = "ncurses-sdk zlib-sdk flex-native" +EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'" + +do_configure_append () { + cd ${B} + oe_runmake configure-host + sed -e 's,-lncurses,${STAGING_LIBDIR_NATIVE}/libncurses.a ${STAGING_LIBDIR_NATIVE}/libtinfo.a ,g' -i ${B}/gdb/Makefile + sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i ${B}/gdb/Makefile + sed -e 's,-lexpat, ${STAGING_LIBDIR_NATIVE}/libexpat.a ,g' -i ${B}/gdb/Makefile + sed -e 's,libexpat.so,libexpat.a ,g' -i ${B}/gdb/Makefile + sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i ${B}/sim/arm/Makefile +} \ No newline at end of file -- 1.6.3.3 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 3/3] gdb-cross-sdk: use static libncurses libtinfo libz and libexpat 2010-09-22 22:35 ` [PATCH 3/3] gdb-cross-sdk: use static libncurses libtinfo libz and libexpat Eric Bénard @ 2010-09-22 23:00 ` Tom Rini 0 siblings, 0 replies; 6+ messages in thread From: Tom Rini @ 2010-09-22 23:00 UTC (permalink / raw) To: openembedded-devel Eric Bénard wrote: > * statically linking these libs prevents several runtime problems Since ncurses 5.7 is default and otherwise switching down / staying down is hard atm, I'm OK with the -lncurses -> libncurses + libtinfo change. Acked-by: Tom Rini <tom_rini@mentor.com> > > Signed-off-by: Eric Bénard <eric@eukrea.com> > --- > recipes/gdb/gdb-cross-sdk.inc | 13 ++++++++++++- > 1 files changed, 12 insertions(+), 1 deletions(-) > > diff --git a/recipes/gdb/gdb-cross-sdk.inc b/recipes/gdb/gdb-cross-sdk.inc > index 7c85653..fbff553 100644 > --- a/recipes/gdb/gdb-cross-sdk.inc > +++ b/recipes/gdb/gdb-cross-sdk.inc > @@ -1,8 +1,19 @@ > require gdb-cross.inc > LICENSE = "GPLv3" > > -INC_PR = "r6" > +INC_PR = "r7" > > inherit sdk > > DEPENDS = "ncurses-sdk zlib-sdk flex-native" > +EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'" > + > +do_configure_append () { > + cd ${B} > + oe_runmake configure-host > + sed -e 's,-lncurses,${STAGING_LIBDIR_NATIVE}/libncurses.a ${STAGING_LIBDIR_NATIVE}/libtinfo.a ,g' -i ${B}/gdb/Makefile > + sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i ${B}/gdb/Makefile > + sed -e 's,-lexpat, ${STAGING_LIBDIR_NATIVE}/libexpat.a ,g' -i ${B}/gdb/Makefile > + sed -e 's,libexpat.so,libexpat.a ,g' -i ${B}/gdb/Makefile > + sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i ${B}/sim/arm/Makefile > +} > \ No newline at end of file -- Tom Rini Mentor Graphics Corporation ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator 2010-09-22 22:35 ` [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator Eric Bénard 2010-09-22 22:35 ` [PATCH 3/3] gdb-cross-sdk: use static libncurses libtinfo libz and libexpat Eric Bénard @ 2010-09-23 1:55 ` Cliff Brake 2010-09-23 6:32 ` Eric Bénard 1 sibling, 1 reply; 6+ messages in thread From: Cliff Brake @ 2010-09-23 1:55 UTC (permalink / raw) To: openembedded-devel On Wed, Sep 22, 2010 at 6:35 PM, Eric Bénard <eric@eukrea.com> wrote: > * this links "puts" mkspecs at the place where QTCreator search > for it in order to detect a toolchain > * thanks to this link QTCreator detects the toolchain generated using > meta-toolchain-qte and can cross compile applications without any > hack This is somewhat off-topic, but could you outline the procedure you use to create a Qt SDK? How does this recipe fit in with meta-toolchain-qte? Also, have you done remote debugging with QtCreator -- just curious how well that works. Thanks, Cliff -- ================= http://bec-systems.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator 2010-09-23 1:55 ` [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator Cliff Brake @ 2010-09-23 6:32 ` Eric Bénard 0 siblings, 0 replies; 6+ messages in thread From: Eric Bénard @ 2010-09-23 6:32 UTC (permalink / raw) To: openembedded-devel Le 23/09/2010 03:55, Cliff Brake a écrit : > On Wed, Sep 22, 2010 at 6:35 PM, Eric Bénard<eric@eukrea.com> wrote: >> * this links "puts" mkspecs at the place where QTCreator search >> for it in order to detect a toolchain >> * thanks to this link QTCreator detects the toolchain generated using >> meta-toolchain-qte and can cross compile applications without any >> hack > > This is somewhat off-topic, but could you outline the procedure you > use to create a Qt SDK? bitbake meta-toolchain-qte > How does this recipe fit in with meta-toolchain-qte? > yes, meta-toolchain-qte -> TOOLCHAIN_HOST_TASK -> task-qte-toolchain-host -> RDEPENDS qt4-tools-sdk > Also, have you done remote debugging with QtCreator -- just curious > how well that works. > I'm finalizing the doc (translating it in english and removing the hacks no morenecessary for libmpfr & libncurses & this mkspecs link once the patches are in the tree), I'll post a link once it's online (in the coming weeks). Eric ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-09-23 6:32 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-09-22 22:35 [PATCH 1/3] sdk.bbclass: allow virtclass-sdk override Eric Bénard 2010-09-22 22:35 ` [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator Eric Bénard 2010-09-22 22:35 ` [PATCH 3/3] gdb-cross-sdk: use static libncurses libtinfo libz and libexpat Eric Bénard 2010-09-22 23:00 ` Tom Rini 2010-09-23 1:55 ` [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator Cliff Brake 2010-09-23 6:32 ` Eric Bénard
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.