From: "Denys Dmytriyenko" <denis@denix.org>
To: Sumit Garg <sumit.garg@linaro.org>
Cc: meta-arm@lists.yoctoproject.org, pbarker@konsulko.com,
wmills@ti.com, richard.purdie@linuxfoundation.org,
daniel.thompson@linaro.org
Subject: Re: [PATCH v2 2/5] external-arm-toolchain: Refine dev libraries/headers packaging
Date: Fri, 12 Jun 2020 00:23:11 -0400 [thread overview]
Message-ID: <20200612042311.GI17660@denix.org> (raw)
In-Reply-To: <1591796582-5015-3-git-send-email-sumit.garg@linaro.org>
On Wed, Jun 10, 2020 at 07:12:59PM +0530, Sumit Garg wrote:
> OE core by default package all libraries/headers installed as
> "${libdir}/lib*.so", "${libdir}/*.la" and {includedir} as part of
> FILES_${PN}-dev" but in case of external Arm toolchain recipe, multiple
> packages are provided which needs to include specific libraries and
> headers. So define "FILES_${PN}-dev" from scratch in order to package
> dev libraries/headers as part of intended packages and only package
> remaining libraries/headers as part of "FILES_${PN}-dev".
This is probably fine, but have you considered/tried re-ordering list of
PACKAGES, moving ${PN}-dev to the end? That way it would let other packages
to pick up their files before collecting the remainder. Not sure, but I wonder
if that would be any cleaner...
> Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
> ---
> .../external-arm-toolchain.bb | 48 ++++++++++++++++++++++
> 1 file changed, 48 insertions(+)
>
> diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
> index 8cfc208..5d9a0a8 100644
> --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
> +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
> @@ -546,6 +546,54 @@ FILES_${PN} += "\
> ${base_libdir}/libpcprofile.so \
> "
>
> +FILES_${PN}-dev = "\
> + ${includedir}/*.h \
> + ${includedir}/netatalk/ \
> + ${includedir}/netiucv/ \
> + ${includedir}/neteconet/ \
> + ${includedir}/nfs/ \
> + ${includedir}/rpcsvc/ \
> + ${includedir}/netipx/ \
> + ${includedir}/misc/ \
> + ${includedir}/rpc/ \
> + ${includedir}/sys/ \
> + ${includedir}/netrose/ \
> + ${includedir}/arpa/ \
> + ${includedir}/netinet/ \
> + ${includedir}/netrom/ \
> + ${includedir}/finclude/ \
> + ${includedir}/netax25/ \
> + ${includedir}/netash/ \
> + ${includedir}/bits/ \
> + ${includedir}/xen/ \
> + ${includedir}/netpacket/ \
> + ${includedir}/drm/ \
> + ${includedir}/net/ \
> + ${includedir}/protocols/ \
> + ${includedir}/gnu/ \
> + ${base_libdir}/*_nonshared.a \
> + ${base_libdir}/*.o \
> + ${datadir}/aclocal \
> + ${libdir}/*.o \
> + ${libdir}/*_nonshared.a \
> + ${libdir}/libcrypt.so \
> + ${libdir}/libc.so \
> + ${libdir}/libm.so \
> + ${libdir}/libpthread.so \
> + ${libdir}/libresolv.so \
> + ${libdir}/librt.so \
> + ${libdir}/libutil.so \
> + ${libdir}/libnss_files.so \
> + ${libdir}/libnss_compat.so \
> + ${libdir}/libnss_dns.so \
> + ${libdir}/libnss_hesiod.so \
> + ${libdir}/libnss_db.so \
> + ${libdir}/libdl.so \
> + ${libdir}/libanl.so \
> + ${libdir}/libBrokenLocale.so \
> + ${libdir}/libthread_db.so \
> + "
> +
> FILES_${PN}-dbg += "${base_libdir}/debug"
>
> # From gcc-runtime.inc
> --
> 2.7.4
>
next prev parent reply other threads:[~2020-06-12 4:23 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-10 13:42 [PATCH v2 0/5] external-arm-toolchain: Add support for SDK generation Sumit Garg
2020-06-10 13:42 ` [PATCH v2 1/5] external-arm-toolchain: Remove glibc locale dependency Sumit Garg
2020-06-12 4:14 ` [meta-arm] " Denys Dmytriyenko
2020-06-10 13:42 ` [PATCH v2 2/5] external-arm-toolchain: Refine dev libraries/headers packaging Sumit Garg
2020-06-12 4:23 ` Denys Dmytriyenko [this message]
2020-06-12 7:07 ` Sumit Garg
2020-06-12 7:35 ` Denys Dmytriyenko
2020-06-12 8:49 ` Sumit Garg
2020-06-10 13:43 ` [PATCH v2 3/5] external-arm-toolchain: Align glibc packaging to OE TARGET_SYS Sumit Garg
2020-06-12 2:15 ` Denys Dmytriyenko
2020-06-12 5:33 ` Sumit Garg
2020-06-12 6:16 ` Denys Dmytriyenko
2020-06-12 7:12 ` Sumit Garg
2020-06-10 13:43 ` [PATCH v2 4/5] meta-arm-toolchain: Add README Sumit Garg
2020-06-10 13:43 ` [PATCH v2 5/5] external-arm-toolchain: Add package specific licenses Sumit Garg
2020-06-12 4:26 ` Denys Dmytriyenko
2020-06-11 15:12 ` [meta-arm] [PATCH v2 0/5] external-arm-toolchain: Add support for SDK generation Jon Mason
2020-06-12 2:18 ` Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200612042311.GI17660@denix.org \
--to=denis@denix.org \
--cc=daniel.thompson@linaro.org \
--cc=meta-arm@lists.yoctoproject.org \
--cc=pbarker@konsulko.com \
--cc=richard.purdie@linuxfoundation.org \
--cc=sumit.garg@linaro.org \
--cc=wmills@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.