Re: [OE-core] [PATCH 4/4] musl: Make dev package rdep on staticdev
On Wed, May 16, 2018 at 7:38 AM, Burton, Rosswrote: > Surely in that usecase you can add musl-staticdev yourself? Forcing > it into every SDK seems wasteful. > I guess thats a fair argument I can accept it. Please ignore this patch then > Ross > > On 16 May 2018 at 14:32, Khem Raj wrote: >> On Wed, May 16, 2018 at 4:09 AM, Burton, Ross wrote: >>> Surely if you want to support static linking in the SDK, you just need >>> to add staticdev-pkgs to the SDKIMAGE_FEATURES? >>> >> >> In some usecase, compiler runtime and c library is only required everything >> else is external. Adding whole staticdev bundle would conflict with that >> >>> Ross >>> >>> On 16 May 2018 at 07:32, Khem Raj wrote: This is needed for enabling static linking with SDK Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index a0a098f5b4..d7d201df9d 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -66,7 +66,7 @@ do_install() { done } -RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev libssp-nonshared-staticdev" +RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev libssp-nonshared-staticdev ${PN}-staticdev" RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev" RPROVIDES_${PN} += "ldd libsegfault rtld(GNU_HASH)" -- 2.17.0 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 4/4] musl: Make dev package rdep on staticdev
Surely in that usecase you can add musl-staticdev yourself? Forcing it into every SDK seems wasteful. Ross On 16 May 2018 at 14:32, Khem Rajwrote: > On Wed, May 16, 2018 at 4:09 AM, Burton, Ross wrote: >> Surely if you want to support static linking in the SDK, you just need >> to add staticdev-pkgs to the SDKIMAGE_FEATURES? >> > > In some usecase, compiler runtime and c library is only required everything > else is external. Adding whole staticdev bundle would conflict with that > >> Ross >> >> On 16 May 2018 at 07:32, Khem Raj wrote: >>> This is needed for enabling static linking with SDK >>> >>> Signed-off-by: Khem Raj >>> --- >>> meta/recipes-core/musl/musl_git.bb | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/meta/recipes-core/musl/musl_git.bb >>> b/meta/recipes-core/musl/musl_git.bb >>> index a0a098f5b4..d7d201df9d 100644 >>> --- a/meta/recipes-core/musl/musl_git.bb >>> +++ b/meta/recipes-core/musl/musl_git.bb >>> @@ -66,7 +66,7 @@ do_install() { >>> done >>> } >>> >>> -RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev >>> libssp-nonshared-staticdev" >>> +RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev >>> libssp-nonshared-staticdev ${PN}-staticdev" >>> RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev" >>> RPROVIDES_${PN} += "ldd libsegfault rtld(GNU_HASH)" >>> >>> -- >>> 2.17.0 >>> >>> -- >>> ___ >>> Openembedded-core mailing list >>> Openembedded-core@lists.openembedded.org >>> http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 4/4] musl: Make dev package rdep on staticdev
On Wed, May 16, 2018 at 4:09 AM, Burton, Rosswrote: > Surely if you want to support static linking in the SDK, you just need > to add staticdev-pkgs to the SDKIMAGE_FEATURES? > In some usecase, compiler runtime and c library is only required everything else is external. Adding whole staticdev bundle would conflict with that > Ross > > On 16 May 2018 at 07:32, Khem Raj wrote: >> This is needed for enabling static linking with SDK >> >> Signed-off-by: Khem Raj >> --- >> meta/recipes-core/musl/musl_git.bb | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/meta/recipes-core/musl/musl_git.bb >> b/meta/recipes-core/musl/musl_git.bb >> index a0a098f5b4..d7d201df9d 100644 >> --- a/meta/recipes-core/musl/musl_git.bb >> +++ b/meta/recipes-core/musl/musl_git.bb >> @@ -66,7 +66,7 @@ do_install() { >> done >> } >> >> -RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev >> libssp-nonshared-staticdev" >> +RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev >> libssp-nonshared-staticdev ${PN}-staticdev" >> RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev" >> RPROVIDES_${PN} += "ldd libsegfault rtld(GNU_HASH)" >> >> -- >> 2.17.0 >> >> -- >> ___ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 4/4] musl: Make dev package rdep on staticdev
Surely if you want to support static linking in the SDK, you just need to add staticdev-pkgs to the SDKIMAGE_FEATURES? Ross On 16 May 2018 at 07:32, Khem Rajwrote: > This is needed for enabling static linking with SDK > > Signed-off-by: Khem Raj > --- > meta/recipes-core/musl/musl_git.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-core/musl/musl_git.bb > b/meta/recipes-core/musl/musl_git.bb > index a0a098f5b4..d7d201df9d 100644 > --- a/meta/recipes-core/musl/musl_git.bb > +++ b/meta/recipes-core/musl/musl_git.bb > @@ -66,7 +66,7 @@ do_install() { > done > } > > -RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev > libssp-nonshared-staticdev" > +RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev > libssp-nonshared-staticdev ${PN}-staticdev" > RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev" > RPROVIDES_${PN} += "ldd libsegfault rtld(GNU_HASH)" > > -- > 2.17.0 > > -- > ___ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 4/4] musl: Make dev package rdep on staticdev
This is needed for enabling static linking with SDK Signed-off-by: Khem Raj--- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index a0a098f5b4..d7d201df9d 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -66,7 +66,7 @@ do_install() { done } -RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev libssp-nonshared-staticdev" +RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev libssp-nonshared-staticdev ${PN}-staticdev" RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev" RPROVIDES_${PN} += "ldd libsegfault rtld(GNU_HASH)" -- 2.17.0 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core