From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Koen Kooi <koen.kooi@linaro.org>
Subject: Re: [meta-oe][PATCH 2/2] libhugetlbfs: fix packaging
Date: Mon, 14 Jul 2014 16:54:09 +0200 [thread overview]
Message-ID: <20140714145409.GH2433@jama> (raw)
In-Reply-To: <1405327294-4030-2-git-send-email-koen.kooi@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 2030 bytes --]
On Mon, Jul 14, 2014 at 10:41:34AM +0200, Koen Kooi wrote:
> Libhugetlbs doesn't generate proper .so.X libs, only two .so files. Package those in ${PN} and silence the resulting QA warning. This fixes:
>
> ERROR: QA Issue: libhugetlbfs-tests rdepends on libhugetlbfs-dev
>
> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
> ---
> meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> index af7ed3e..d3b64bf 100644
> --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> @@ -25,6 +25,7 @@ COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64).*-linux*"
>
> LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
> EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=1"
> +PARALLEL_MAKE_pn-${PN} = ""
Is _pn override really needed?
> CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
>
> TARGET_CC_ARCH += "${LDFLAGS}"
> @@ -46,12 +47,15 @@ do_install() {
> install-tests
> }
>
> -PARALLEL_MAKE_pn-${PN} = ""
>
> PACKAGES =+ "${PN}-perl ${PN}-tests "
> +FILES_${PN} += "${libdir}/*.so"
> +FILES_${PN}-dev = "${includedir}"
> FILES_${PN}-dbg += "${libdir}/libhugetlbfs/tests/obj32/.debug ${libdir}/libhugetlbfs/tests/obj64/.debug"
> FILES_${PN}-perl = "${libdir}/perl"
> FILES_${PN}-tests += "${libdir}/libhugetlbfs/tests"
>
> +INSANE_SKIP_${PN} = "dev-so"
> +
> INHIBIT_PACKAGE_STRIP = "1"
> INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
> --
> 1.9.3
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2014-07-14 14:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-14 8:41 [meta-oe][PATCH 1/2] libhugetlbfs: fix versioning Koen Kooi
2014-07-14 8:41 ` [meta-oe][PATCH 2/2] libhugetlbfs: fix packaging Koen Kooi
2014-07-14 14:54 ` Martin Jansa [this message]
2014-07-14 15:04 ` Koen Kooi
2014-07-14 15:50 ` Martin Jansa
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=20140714145409.GH2433@jama \
--to=martin.jansa@gmail.com \
--cc=koen.kooi@linaro.org \
--cc=openembedded-devel@lists.openembedded.org \
/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.