* [PATCH 0/2] Package upgrades @ 2014-01-08 13:08 Irina Patru 2014-01-08 13:08 ` [PATCH 1/2] libtasn1: upgrade to 3.4 Irina Patru ` (2 more replies) 0 siblings, 3 replies; 12+ messages in thread From: Irina Patru @ 2014-01-08 13:08 UTC (permalink / raw) To: openembedded-core The packages have been succesfully compiled for all major architectures. Both packages were tested on a core-image-sato with midori browser on a nuc. The following changes since commit e93a345fae7c21652547bec501fcb1f3b6c6427d: sstate: add do_package to the noexec list in setscene_depvalid (2014-01-07 13:58:32 +0000) are available in the git repository at: git://git.yoctoproject.org/poky-contrib ipatru/upgrades http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ipatru/upgrades Irina Patru (2): libtasn1: upgrade to 3.4 libsoup-2.4: upgrade to 2.45.3 .../gnutls/{libtasn1_3.3.bb => libtasn1_3.4.bb} | 4 ++-- ...libsoup-2.4_2.44.2.bb => libsoup-2.4_2.45.3.bb} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-support/gnutls/{libtasn1_3.3.bb => libtasn1_3.4.bb} (82%) rename meta/recipes-support/libsoup/{libsoup-2.4_2.44.2.bb => libsoup-2.4_2.45.3.bb} (85%) -- 1.7.9.5 ^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/2] libtasn1: upgrade to 3.4 2014-01-08 13:08 [PATCH 0/2] Package upgrades Irina Patru @ 2014-01-08 13:08 ` Irina Patru 2014-01-08 13:08 ` [PATCH 2/2] libsoup-2.4: upgrade to 2.45.3 Irina Patru 2014-01-08 13:24 ` What package installs a C compiler on my target? Mike Looijmans 2 siblings, 0 replies; 12+ messages in thread From: Irina Patru @ 2014-01-08 13:08 UTC (permalink / raw) To: openembedded-core Signed-off-by: Irina Patru <irina.patru@intel.com> --- .../gnutls/{libtasn1_3.3.bb => libtasn1_3.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/gnutls/{libtasn1_3.3.bb => libtasn1_3.4.bb} (82%) diff --git a/meta/recipes-support/gnutls/libtasn1_3.3.bb b/meta/recipes-support/gnutls/libtasn1_3.4.bb similarity index 82% rename from meta/recipes-support/gnutls/libtasn1_3.3.bb rename to meta/recipes-support/gnutls/libtasn1_3.4.bb index 573d8c8..590987e 100644 --- a/meta/recipes-support/gnutls/libtasn1_3.3.bb +++ b/meta/recipes-support/gnutls/libtasn1_3.4.bb @@ -13,8 +13,8 @@ SRC_URI = "${GNU_MIRROR}/libtasn1/libtasn1-${PV}.tar.gz \ file://dont-depend-on-help2man.patch \ " -SRC_URI[md5sum] = "2bdd687f487c50a0382b99553866a6e0" -SRC_URI[sha256sum] = "92652a2cd10f63c56984b5e5cee46ecadf2292e2262fff99278f7ee46ff93ac0" +SRC_URI[md5sum] = "21ec021c534b0f30b2834ce233c70f15" +SRC_URI[sha256sum] = "f353507a458fe2372b791016a056c95946eebfc7256b49013851f134a5e6acc8" inherit autotools binconfig lib_package -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/2] libsoup-2.4: upgrade to 2.45.3 2014-01-08 13:08 [PATCH 0/2] Package upgrades Irina Patru 2014-01-08 13:08 ` [PATCH 1/2] libtasn1: upgrade to 3.4 Irina Patru @ 2014-01-08 13:08 ` Irina Patru 2014-01-08 13:24 ` What package installs a C compiler on my target? Mike Looijmans 2 siblings, 0 replies; 12+ messages in thread From: Irina Patru @ 2014-01-08 13:08 UTC (permalink / raw) To: openembedded-core Signed-off-by: Irina Patru <irina.patru@intel.com> --- ...libsoup-2.4_2.44.2.bb => libsoup-2.4_2.45.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/libsoup/{libsoup-2.4_2.44.2.bb => libsoup-2.4_2.45.3.bb} (85%) diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.44.2.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.45.3.bb similarity index 85% rename from meta/recipes-support/libsoup/libsoup-2.4_2.44.2.bb rename to meta/recipes-support/libsoup/libsoup-2.4_2.45.3.bb index a7ea106..ea062c7 100644 --- a/meta/recipes-support/libsoup/libsoup-2.4_2.44.2.bb +++ b/meta/recipes-support/libsoup/libsoup-2.4_2.45.3.bb @@ -17,8 +17,8 @@ PACKAGECONFIG[gnome] = "--with-gnome,--without-gnome" SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz" -SRC_URI[md5sum] = "92aa3667357157e8f3489bcca287f2fa" -SRC_URI[sha256sum] = "e7e4b5ab74a6c00fc267c9f5963852d28759ad3154dab6388e2d6e1962d598f3" +SRC_URI[md5sum] = "fe7ec04784c6b97c5f8ea963c8542f59" +SRC_URI[sha256sum] = "6ac317b931efd2cff9cdea7122987acb3ecb0c32564a9441ba72e5cce021aa12" S = "${WORKDIR}/libsoup-${PV}" -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* What package installs a C compiler on my target? 2014-01-08 13:08 [PATCH 0/2] Package upgrades Irina Patru 2014-01-08 13:08 ` [PATCH 1/2] libtasn1: upgrade to 3.4 Irina Patru 2014-01-08 13:08 ` [PATCH 2/2] libsoup-2.4: upgrade to 2.45.3 Irina Patru @ 2014-01-08 13:24 ` Mike Looijmans 2014-01-08 13:48 ` Phil Blundell 2014-01-08 13:50 ` Philip Balister 2 siblings, 2 replies; 12+ messages in thread From: Mike Looijmans @ 2014-01-08 13:24 UTC (permalink / raw) To: openembedded-core Probably a silly question that has been asked a thousand times, but my searches on Google only give me the answer to the wrong question (how to build FOR the target, which I already know how to do). I want to run the C compiler on the board itself. That is, a GCC that runs on the board and compiles (and links etc.) C code for that board. What package(s) do I need to build and install to accomplish this? Mike. Met vriendelijke groet / kind regards, Mike Looijmans TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: (+31) – (0)499 - 33.69.79 Telefax: (+31) - (0)499 - 33.69.70 E-mail: mike.looijmans@topic.nl Website: www.topic.nl Dit e-mail bericht en de eventueel daarbij behorende bijlagen zijn uitsluitend bestemd voor de geadresseerde, zoals die blijkt uit het e-mail bericht en/of de bijlagen. Er kunnen gegevens met betrekking tot een derde instaan. Indien u als niet-geadresseerde dit bericht en de bijlagen ontvangt, terwijl u niet bevoegd of gemachtigd bent om dit bericht namens de geadresseerde te ontvangen, wordt u verzocht de afzender hierover direct te informeren en het e-mail bericht met de bijlagen te vernietigen. Ieder gebruik van de inhoud van het e-mail bericht, waaronder de daarbij behorende bijlagen, door een ander dan de geadresseerde is onrechtmatig jegens ons dan wel de eventueel in het e-mail bericht of de bijlagen voorkomende andere personen. TOPIC Embedded Systems is niet aansprakelijk voor enigerlei schade voortvloeiend uit het gebruik en/of acceptatie van dit e-mail bericht of de daarbij behorende bijlagen. The contents of this message, as well as any enclosures, are addressed personally to, and thus solely intended for the addressee. They may contain information regarding a third party. A recipient who is neither the addressee, nor empowered to receive this message on behalf of the addressee, is kindly requested to immediately inform the sender of receipt, and to destroy the message and the enclosures. Any use of the contents of this message and/or the enclosures by any other person than the addressee or person who is empowered to receive this message, is illegal towards the sender and/or the aforementioned third party. TOPIC Embedded Systems is not liable for any damage as a result of the use and/or acceptance of this message and as well as any enclosures. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: What package installs a C compiler on my target? 2014-01-08 13:24 ` What package installs a C compiler on my target? Mike Looijmans @ 2014-01-08 13:48 ` Phil Blundell 2014-01-08 14:57 ` Mike Looijmans 2014-01-08 13:50 ` Philip Balister 1 sibling, 1 reply; 12+ messages in thread From: Phil Blundell @ 2014-01-08 13:48 UTC (permalink / raw) To: Mike Looijmans; +Cc: openembedded-core On Wed, 2014-01-08 at 14:24 +0100, Mike Looijmans wrote: > Probably a silly question that has been asked a thousand times, but my > searches on Google only give me the answer to the wrong question (how to build > FOR the target, which I already know how to do). > > I want to run the C compiler on the board itself. That is, a GCC that runs on > the board and compiles (and links etc.) C code for that board. > > What package(s) do I need to build and install to accomplish this? "gcc"? p. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: What package installs a C compiler on my target? 2014-01-08 13:48 ` Phil Blundell @ 2014-01-08 14:57 ` Mike Looijmans 0 siblings, 0 replies; 12+ messages in thread From: Mike Looijmans @ 2014-01-08 14:57 UTC (permalink / raw) To: openembedded-core On 01/08/2014 02:48 PM, Phil Blundell wrote: > On Wed, 2014-01-08 at 14:24 +0100, Mike Looijmans wrote: >> Probably a silly question that has been asked a thousand times, but my >> searches on Google only give me the answer to the wrong question (how to build >> FOR the target, which I already know how to do). >> >> I want to run the C compiler on the board itself. That is, a GCC that runs on >> the board and compiles (and links etc.) C code for that board. >> >> What package(s) do I need to build and install to accomplish this? > > "gcc"? That was my first thought too, sorry for not mentioning that... It turned out that that only delivers "arm-linux-bla-blah-gcc", thus typing "gcc" on the commandline didn't do much useful until I also installed "gcc-symlinks". Mike. Met vriendelijke groet / kind regards, Mike Looijmans TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: (+31) – (0)499 - 33.69.79 Telefax: (+31) - (0)499 - 33.69.70 E-mail: mike.looijmans@topic.nl Website: www.topic.nl Dit e-mail bericht en de eventueel daarbij behorende bijlagen zijn uitsluitend bestemd voor de geadresseerde, zoals die blijkt uit het e-mail bericht en/of de bijlagen. Er kunnen gegevens met betrekking tot een derde instaan. Indien u als niet-geadresseerde dit bericht en de bijlagen ontvangt, terwijl u niet bevoegd of gemachtigd bent om dit bericht namens de geadresseerde te ontvangen, wordt u verzocht de afzender hierover direct te informeren en het e-mail bericht met de bijlagen te vernietigen. Ieder gebruik van de inhoud van het e-mail bericht, waaronder de daarbij behorende bijlagen, door een ander dan de geadresseerde is onrechtmatig jegens ons dan wel de eventueel in het e-mail bericht of de bijlagen voorkomende andere personen. TOPIC Embedded Systems is niet aansprakelijk voor enigerlei schade voortvloeiend uit het gebruik en/of acceptatie van dit e-mail bericht of de daarbij behorende bijlagen. The contents of this message, as well as any enclosures, are addressed personally to, and thus solely intended for the addressee. They may contain information regarding a third party. A recipient who is neither the addressee, nor empowered to receive this message on behalf of the addressee, is kindly requested to immediately inform the sender of receipt, and to destroy the message and the enclosures. Any use of the contents of this message and/or the enclosures by any other person than the addressee or person who is empowered to receive this message, is illegal towards the sender and/or the aforementioned third party. TOPIC Embedded Systems is not liable for any damage as a result of the use and/or acceptance of this message and as well as any enclosures. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: What package installs a C compiler on my target? 2014-01-08 13:24 ` What package installs a C compiler on my target? Mike Looijmans 2014-01-08 13:48 ` Phil Blundell @ 2014-01-08 13:50 ` Philip Balister 2014-01-08 15:05 ` Mike Looijmans 1 sibling, 1 reply; 12+ messages in thread From: Philip Balister @ 2014-01-08 13:50 UTC (permalink / raw) To: Mike Looijmans; +Cc: openembedded-core On 01/08/2014 08:24 AM, Mike Looijmans wrote: > Probably a silly question that has been asked a thousand times, but my > searches on Google only give me the answer to the wrong question (how to > build FOR the target, which I already know how to do). > > I want to run the C compiler on the board itself. That is, a GCC that > runs on the board and compiles (and links etc.) C code for that board. > > What package(s) do I need to build and install to accomplish this? From one of my images: IMAGE_FEATURES += "splash ssh-server-openssh tools-sdk \ tools-debug debug-tweaks \ dev-pkgs dbg-pkgs \ " looks like tools-sdk is the one you want. dev- and dbg- packages might also be helpful, but will make the image larger. Especially the debug ones. Philip > > Mike. > > > Met vriendelijke groet / kind regards, > > Mike Looijmans > > TOPIC Embedded Systems > Eindhovenseweg 32-C, NL-5683 KH Best > Postbus 440, NL-5680 AK Best > Telefoon: (+31) – (0)499 - 33.69.79 > Telefax: (+31) - (0)499 - 33.69.70 > E-mail: mike.looijmans@topic.nl > Website: www.topic.nl > > Dit e-mail bericht en de eventueel daarbij behorende bijlagen zijn > uitsluitend bestemd voor de geadresseerde, zoals die blijkt uit het > e-mail bericht en/of de bijlagen. Er kunnen gegevens met betrekking tot > een derde instaan. Indien u als niet-geadresseerde dit bericht en de > bijlagen ontvangt, terwijl u niet bevoegd of gemachtigd bent om dit > bericht namens de geadresseerde te ontvangen, wordt u verzocht de > afzender hierover direct te informeren en het e-mail bericht met de > bijlagen te vernietigen. Ieder gebruik van de inhoud van het e-mail > bericht, waaronder de daarbij behorende bijlagen, door een ander dan de > geadresseerde is onrechtmatig jegens ons dan wel de eventueel in het > e-mail bericht of de bijlagen voorkomende andere personen. TOPIC > Embedded Systems is niet aansprakelijk voor enigerlei schade > voortvloeiend uit het gebruik en/of acceptatie van dit e-mail bericht of > de daarbij behorende bijlagen. > > The contents of this message, as well as any enclosures, are addressed > personally to, and thus solely intended for the addressee. They may > contain information regarding a third party. A recipient who is neither > the addressee, nor empowered to receive this message on behalf of the > addressee, is kindly requested to immediately inform the sender of > receipt, and to destroy the message and the enclosures. Any use of the > contents of this message and/or the enclosures by any other person than > the addressee or person who is empowered to receive this message, is > illegal towards the sender and/or the aforementioned third party. TOPIC > Embedded Systems is not liable for any damage as a result of the use > and/or acceptance of this message and as well as any enclosures. > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: What package installs a C compiler on my target? 2014-01-08 13:50 ` Philip Balister @ 2014-01-08 15:05 ` Mike Looijmans 2014-01-08 15:14 ` Burton, Ross ` (3 more replies) 0 siblings, 4 replies; 12+ messages in thread From: Mike Looijmans @ 2014-01-08 15:05 UTC (permalink / raw) To: Philip Balister; +Cc: openembedded-core On 01/08/2014 02:50 PM, Philip Balister wrote: > On 01/08/2014 08:24 AM, Mike Looijmans wrote: >> Probably a silly question that has been asked a thousand times, but my >> searches on Google only give me the answer to the wrong question (how to >> build FOR the target, which I already know how to do). >> >> I want to run the C compiler on the board itself. That is, a GCC that >> runs on the board and compiles (and links etc.) C code for that board. >> >> What package(s) do I need to build and install to accomplish this? > > From one of my images: > > > IMAGE_FEATURES += "splash ssh-server-openssh tools-sdk \ > tools-debug debug-tweaks \ > dev-pkgs dbg-pkgs \ > " > looks like tools-sdk is the one you want. dev- and dbg- packages might > also be helpful, but will make the image larger. Especially the debug ones. $ bitbake tools-sdk ERROR: Nothing PROVIDES 'tools-sdk' So I guess it's a package that's provided in another layer (I have oe-core and most of meta-oe). So far, the following set I've derived through trial and error seems to come close: TARGET_COMPILER_TOOLS = "\ binutils \ binutils-symlinks \ cpp \ cpp-symlinks \ g++ \ g++-symlinks \ gcc \ gcc-symlinks \ make \ packagegroup-core-standalone-sdk-target \ " This allows a basic "hello world" to compile on target in C and C++ code. Make wasn't really required, but it's very convenient to have... I'm mostly surprised that there wasn't a packagegroup to contain this set. It increased the image size to about 130MB, but in this particular case, that won't be a problem. Anyway, thanks for the tips all. Guess this list may be useful to others... Mike. Met vriendelijke groet / kind regards, Mike Looijmans TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: (+31) – (0)499 - 33.69.79 Telefax: (+31) - (0)499 - 33.69.70 E-mail: mike.looijmans@topic.nl Website: www.topic.nl Dit e-mail bericht en de eventueel daarbij behorende bijlagen zijn uitsluitend bestemd voor de geadresseerde, zoals die blijkt uit het e-mail bericht en/of de bijlagen. Er kunnen gegevens met betrekking tot een derde instaan. Indien u als niet-geadresseerde dit bericht en de bijlagen ontvangt, terwijl u niet bevoegd of gemachtigd bent om dit bericht namens de geadresseerde te ontvangen, wordt u verzocht de afzender hierover direct te informeren en het e-mail bericht met de bijlagen te vernietigen. Ieder gebruik van de inhoud van het e-mail bericht, waaronder de daarbij behorende bijlagen, door een ander dan de geadresseerde is onrechtmatig jegens ons dan wel de eventueel in het e-mail bericht of de bijlagen voorkomende andere personen. TOPIC Embedded Systems is niet aansprakelijk voor enigerlei schade voortvloeiend uit het gebruik en/of acceptatie van dit e-mail bericht of de daarbij behorende bijlagen. The contents of this message, as well as any enclosures, are addressed personally to, and thus solely intended for the addressee. They may contain information regarding a third party. A recipient who is neither the addressee, nor empowered to receive this message on behalf of the addressee, is kindly requested to immediately inform the sender of receipt, and to destroy the message and the enclosures. Any use of the contents of this message and/or the enclosures by any other person than the addressee or person who is empowered to receive this message, is illegal towards the sender and/or the aforementioned third party. TOPIC Embedded Systems is not liable for any damage as a result of the use and/or acceptance of this message and as well as any enclosures. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: What package installs a C compiler on my target? 2014-01-08 15:05 ` Mike Looijmans @ 2014-01-08 15:14 ` Burton, Ross 2014-01-08 15:17 ` Richard Purdie ` (2 subsequent siblings) 3 siblings, 0 replies; 12+ messages in thread From: Burton, Ross @ 2014-01-08 15:14 UTC (permalink / raw) To: Mike Looijmans; +Cc: OE-core On 8 January 2014 15:05, Mike Looijmans <mike.looijmans@topic.nl> wrote: > $ bitbake tools-sdk > ERROR: Nothing PROVIDES 'tools-sdk' It's an image feature that core-image.bbclass transforms into package groups: PACKAGE_GROUP_tools-sdk = "packagegroup-core-sdk packagegroup-core-standalone-sdk-target" Ross ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: What package installs a C compiler on my target? 2014-01-08 15:05 ` Mike Looijmans 2014-01-08 15:14 ` Burton, Ross @ 2014-01-08 15:17 ` Richard Purdie 2014-01-08 15:17 ` Philip Balister 2014-01-08 15:21 ` Stanacar, StefanX 3 siblings, 0 replies; 12+ messages in thread From: Richard Purdie @ 2014-01-08 15:17 UTC (permalink / raw) To: Mike Looijmans; +Cc: openembedded-core On Wed, 2014-01-08 at 16:05 +0100, Mike Looijmans wrote: > On 01/08/2014 02:50 PM, Philip Balister wrote: > > On 01/08/2014 08:24 AM, Mike Looijmans wrote: > >> Probably a silly question that has been asked a thousand times, but my > >> searches on Google only give me the answer to the wrong question (how to > >> build FOR the target, which I already know how to do). > >> > >> I want to run the C compiler on the board itself. That is, a GCC that > >> runs on the board and compiles (and links etc.) C code for that board. > >> > >> What package(s) do I need to build and install to accomplish this? > > > > From one of my images: > > > > > > IMAGE_FEATURES += "splash ssh-server-openssh tools-sdk \ > > tools-debug debug-tweaks \ > > dev-pkgs dbg-pkgs \ > > " > > looks like tools-sdk is the one you want. dev- and dbg- packages might > > also be helpful, but will make the image larger. Especially the debug ones. > > $ bitbake tools-sdk > ERROR: Nothing PROVIDES 'tools-sdk' > > So I guess it's a package that's provided in another layer (I have oe-core and > most of meta-oe). > > So far, the following set I've derived through trial and error seems to come > close: > > TARGET_COMPILER_TOOLS = "\ > binutils \ > binutils-symlinks \ > cpp \ > cpp-symlinks \ > g++ \ > g++-symlinks \ > gcc \ > gcc-symlinks \ > make \ > packagegroup-core-standalone-sdk-target \ > " > > This allows a basic "hello world" to compile on target in C and C++ code. Make > wasn't really required, but it's very convenient to have... > > I'm mostly surprised that there wasn't a packagegroup to contain this set. > > It increased the image size to about 130MB, but in this particular case, that > won't be a problem. > > Anyway, thanks for the tips all. Guess this list may be useful to others... Philip was correct in that its an IMAGE_FEATURE, not something you bitbake. The code in question basically triggers: core-image.bbclass:PACKAGE_GROUP_tools-sdk = "packagegroup-core-sdk packagegroup-core-standalone-sdk-target" which are indeed similar to your list above and the package groups do exist... Cheers, Richard ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: What package installs a C compiler on my target? 2014-01-08 15:05 ` Mike Looijmans 2014-01-08 15:14 ` Burton, Ross 2014-01-08 15:17 ` Richard Purdie @ 2014-01-08 15:17 ` Philip Balister 2014-01-08 15:21 ` Stanacar, StefanX 3 siblings, 0 replies; 12+ messages in thread From: Philip Balister @ 2014-01-08 15:17 UTC (permalink / raw) To: Mike Looijmans; +Cc: openembedded-core On 01/08/2014 10:05 AM, Mike Looijmans wrote: > On 01/08/2014 02:50 PM, Philip Balister wrote: >> On 01/08/2014 08:24 AM, Mike Looijmans wrote: >>> Probably a silly question that has been asked a thousand times, but my >>> searches on Google only give me the answer to the wrong question (how to >>> build FOR the target, which I already know how to do). >>> >>> I want to run the C compiler on the board itself. That is, a GCC that >>> runs on the board and compiles (and links etc.) C code for that board. >>> >>> What package(s) do I need to build and install to accomplish this? >> >> From one of my images: >> >> >> IMAGE_FEATURES += "splash ssh-server-openssh tools-sdk \ >> tools-debug debug-tweaks \ >> dev-pkgs dbg-pkgs \ >> " >> looks like tools-sdk is the one you want. dev- and dbg- packages might >> also be helpful, but will make the image larger. Especially the debug >> ones. > > $ bitbake tools-sdk > ERROR: Nothing PROVIDES 'tools-sdk' > > So I guess it's a package that's provided in another layer (I have > oe-core and most of meta-oe). The complete recipe is here: https://github.com/balister/meta-sdr/blob/master/recipes-images/images/gnuradio-dev-image.bb Note the inherit core-image at the bottom. Philip > > So far, the following set I've derived through trial and error seems to > come close: > > TARGET_COMPILER_TOOLS = "\ > binutils \ > binutils-symlinks \ > cpp \ > cpp-symlinks \ > g++ \ > g++-symlinks \ > gcc \ > gcc-symlinks \ > make \ > packagegroup-core-standalone-sdk-target \ > " > > This allows a basic "hello world" to compile on target in C and C++ > code. Make wasn't really required, but it's very convenient to have... > > I'm mostly surprised that there wasn't a packagegroup to contain this set. > > It increased the image size to about 130MB, but in this particular case, > that won't be a problem. > > Anyway, thanks for the tips all. Guess this list may be useful to others... > > Mike. > > > Met vriendelijke groet / kind regards, > > Mike Looijmans > > TOPIC Embedded Systems > Eindhovenseweg 32-C, NL-5683 KH Best > Postbus 440, NL-5680 AK Best > Telefoon: (+31) – (0)499 - 33.69.79 > Telefax: (+31) - (0)499 - 33.69.70 > E-mail: mike.looijmans@topic.nl > Website: www.topic.nl > > Dit e-mail bericht en de eventueel daarbij behorende bijlagen zijn > uitsluitend bestemd voor de geadresseerde, zoals die blijkt uit het > e-mail bericht en/of de bijlagen. Er kunnen gegevens met betrekking tot > een derde instaan. Indien u als niet-geadresseerde dit bericht en de > bijlagen ontvangt, terwijl u niet bevoegd of gemachtigd bent om dit > bericht namens de geadresseerde te ontvangen, wordt u verzocht de > afzender hierover direct te informeren en het e-mail bericht met de > bijlagen te vernietigen. Ieder gebruik van de inhoud van het e-mail > bericht, waaronder de daarbij behorende bijlagen, door een ander dan de > geadresseerde is onrechtmatig jegens ons dan wel de eventueel in het > e-mail bericht of de bijlagen voorkomende andere personen. TOPIC > Embedded Systems is niet aansprakelijk voor enigerlei schade > voortvloeiend uit het gebruik en/of acceptatie van dit e-mail bericht of > de daarbij behorende bijlagen. > > The contents of this message, as well as any enclosures, are addressed > personally to, and thus solely intended for the addressee. They may > contain information regarding a third party. A recipient who is neither > the addressee, nor empowered to receive this message on behalf of the > addressee, is kindly requested to immediately inform the sender of > receipt, and to destroy the message and the enclosures. Any use of the > contents of this message and/or the enclosures by any other person than > the addressee or person who is empowered to receive this message, is > illegal towards the sender and/or the aforementioned third party. TOPIC > Embedded Systems is not liable for any damage as a result of the use > and/or acceptance of this message and as well as any enclosures. > > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: What package installs a C compiler on my target? 2014-01-08 15:05 ` Mike Looijmans ` (2 preceding siblings ...) 2014-01-08 15:17 ` Philip Balister @ 2014-01-08 15:21 ` Stanacar, StefanX 3 siblings, 0 replies; 12+ messages in thread From: Stanacar, StefanX @ 2014-01-08 15:21 UTC (permalink / raw) To: openembedded-core On Wed, 2014-01-08 at 16:05 +0100, Mike Looijmans wrote: > On 01/08/2014 02:50 PM, Philip Balister wrote: > > On 01/08/2014 08:24 AM, Mike Looijmans wrote: > >> Probably a silly question that has been asked a thousand times, but my > >> searches on Google only give me the answer to the wrong question (how to > >> build FOR the target, which I already know how to do). > >> > >> I want to run the C compiler on the board itself. That is, a GCC that > >> runs on the board and compiles (and links etc.) C code for that board. > >> > >> What package(s) do I need to build and install to accomplish this? > > > > From one of my images: > > > > > > IMAGE_FEATURES += "splash ssh-server-openssh tools-sdk \ > > tools-debug debug-tweaks \ > > dev-pkgs dbg-pkgs \ > > " > > looks like tools-sdk is the one you want. dev- and dbg- packages might > > also be helpful, but will make the image larger. Especially the debug ones. > > $ bitbake tools-sdk > ERROR: Nothing PROVIDES 'tools-sdk' > > So I guess it's a package that's provided in another layer (I have oe-core and > most of meta-oe). No, tools-sdk it's not a bitbake target/package, it's an image feature that you need to add it to your image, e.g in local.conf: IMAGE_FEATURES_append = " tools-sdk" You'll probably want to add dev-pkgs too (that will install the devel packages/headers) The glory details are in core-image.bbclass, basically tools-sdk installs packagegroup-core-sdk and packagegroup-core-standalone-sdk-target. These are actually targets that you can build. If you want to see exactly on which packages these groups depend on you can have a look at meta/recipes-core/packagegroups/packagegroup-core*sdk*.bb recipes. Cheers, Stefan > > So far, the following set I've derived through trial and error seems to come > close: > > TARGET_COMPILER_TOOLS = "\ > binutils \ > binutils-symlinks \ > cpp \ > cpp-symlinks \ > g++ \ > g++-symlinks \ > gcc \ > gcc-symlinks \ > make \ > packagegroup-core-standalone-sdk-target \ > " > > This allows a basic "hello world" to compile on target in C and C++ code. Make > wasn't really required, but it's very convenient to have... > > I'm mostly surprised that there wasn't a packagegroup to contain this set. > > It increased the image size to about 130MB, but in this particular case, that > won't be a problem. > > Anyway, thanks for the tips all. Guess this list may be useful to others... > > Mike. > > > Met vriendelijke groet / kind regards, > > Mike Looijmans > > TOPIC Embedded Systems > Eindhovenseweg 32-C, NL-5683 KH Best > Postbus 440, NL-5680 AK Best > Telefoon: (+31) – (0)499 - 33.69.79 > Telefax: (+31) - (0)499 - 33.69.70 > E-mail: mike.looijmans@topic.nl > Website: www.topic.nl > > Dit e-mail bericht en de eventueel daarbij behorende bijlagen zijn uitsluitend bestemd voor de geadresseerde, zoals die blijkt uit het e-mail bericht en/of de bijlagen. Er kunnen gegevens met betrekking tot een derde instaan. Indien u als niet-geadresseerde dit bericht en de bijlagen ontvangt, terwijl u niet bevoegd of gemachtigd bent om dit bericht namens de geadresseerde te ontvangen, wordt u verzocht de afzender hierover direct te informeren en het e-mail bericht met de bijlagen te vernietigen. Ieder gebruik van de inhoud van het e-mail bericht, waaronder de daarbij behorende bijlagen, door een ander dan de geadresseerde is onrechtmatig jegens ons dan wel de eventueel in het e-mail bericht of de bijlagen voorkomende andere personen. TOPIC Embedded Systems is niet aansprakelijk voor enigerlei schade voortvloeiend uit het gebruik en/of acceptatie van dit e-mail bericht of de daarbij behorende bijlagen. > > The contents of this message, as well as any enclosures, are addressed personally to, and thus solely intended for the addressee. They may contain information regarding a third party. A recipient who is neither the addressee, nor empowered to receive this message on behalf of the addressee, is kindly requested to immediately inform the sender of receipt, and to destroy the message and the enclosures. Any use of the contents of this message and/or the enclosures by any other person than the addressee or person who is empowered to receive this message, is illegal towards the sender and/or the aforementioned third party. TOPIC Embedded Systems is not liable for any damage as a result of the use and/or acceptance of this message and as well as any enclosures. > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2014-01-08 15:22 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-01-08 13:08 [PATCH 0/2] Package upgrades Irina Patru 2014-01-08 13:08 ` [PATCH 1/2] libtasn1: upgrade to 3.4 Irina Patru 2014-01-08 13:08 ` [PATCH 2/2] libsoup-2.4: upgrade to 2.45.3 Irina Patru 2014-01-08 13:24 ` What package installs a C compiler on my target? Mike Looijmans 2014-01-08 13:48 ` Phil Blundell 2014-01-08 14:57 ` Mike Looijmans 2014-01-08 13:50 ` Philip Balister 2014-01-08 15:05 ` Mike Looijmans 2014-01-08 15:14 ` Burton, Ross 2014-01-08 15:17 ` Richard Purdie 2014-01-08 15:17 ` Philip Balister 2014-01-08 15:21 ` Stanacar, StefanX
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.