Patchwork eglibc-package: Reorder PACKAGES to avoid having static libraries in dev

login
register
mail settings
Submitter Andrei Gherzan
Date June 12, 2012, 1:39 p.m.
Message ID <1339508359-6581-1-git-send-email-andrei@gherzan.ro>
Download mbox | patch
Permalink /patch/29701/
State New
Headers show

Comments

Andrei Gherzan - June 12, 2012, 1:39 p.m.
Move ${PN}-dev at the end of $PACKAGES to avoid having some static libraries
in dev and let staticdev have those libraries packaged first.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 meta/recipes-core/eglibc/eglibc-package.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Khem Raj - June 12, 2012, 2:06 p.m.
On Tue, Jun 12, 2012 at 6:39 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> Move ${PN}-dev at the end of $PACKAGES to avoid having some static libraries
> in dev and let staticdev have those libraries packaged first.

did you compare buildhistory output before and after this patch ?
*_nonshared.a is special e.g. it should not go into staticdev
Andrei Gherzan - June 12, 2012, 2:27 p.m.
I realized now that these are needed by sdk. Thank you for the hint. Patch
can be dropped.

@g


On Tue, Jun 12, 2012 at 5:06 PM, Khem Raj <raj.khem@gmail.com> wrote:

> On Tue, Jun 12, 2012 at 6:39 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> > Move ${PN}-dev at the end of $PACKAGES to avoid having some static
> libraries
> > in dev and let staticdev have those libraries packaged first.
>
> did you compare buildhistory output before and after this patch ?
> *_nonshared.a is special e.g. it should not go into staticdev
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Patch

diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index ce37155..b3186f5 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -20,7 +20,7 @@  USE_LDCONFIG ?= "1"
 PKGSUFFIX = ""
 PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
 
-PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} ${PN}-mtrace ${PN}-utils eglibc-extra-nss${PKGSUFFIX} eglibc-thread-db${PKGSUFFIX} ${PN}-pic ${PN}-dev ${PN}-staticdev ${PN}-doc libcidn${PKGSUFFIX} libmemusage${PKGSUFFIX} libsegfault${PKGSUFFIX} ${PN}-pcprofile libsotruss${PKGSUFFIX}"
+PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} ${PN}-mtrace ${PN}-utils eglibc-extra-nss${PKGSUFFIX} eglibc-thread-db${PKGSUFFIX} ${PN}-pic ${PN}-staticdev ${PN}-doc libcidn${PKGSUFFIX} libmemusage${PKGSUFFIX} libsegfault${PKGSUFFIX} ${PN}-pcprofile libsotruss${PKGSUFFIX} ${PN}-dev"
 
 # The ld.so in this eglibc supports the GNU_HASH
 RPROVIDES_${PN} = "glibc${PKGSUFFIX} rtld(GNU_HASH)"