From: Ulf Samuelsson <openembedded@emagii.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Disable GNU Hash check ?
Date: Tue, 08 May 2012 23:08:19 +0200 [thread overview]
Message-ID: <4FA98B43.3090200@emagii.com> (raw)
In-Reply-To: <0C757E680E33864AB113392C7E83F910BE52D2@GSX300A.mxchg.m.corp>
On 2012-03-06 11:08, Hauser, Wolfgang (external) wrote:
> Thanks for that hint, but it is
>
> INSANE_SKIP_${PN} = True
> INSANE_SKIP_${PN}-dev = True
> INSANE_SKIP_${PN}-dbg = True
>
> That solves the problem.
>
> Regards
> Wolfgang
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Had this problem with a source package containing both a kernel driver
and applications.
The GNU Hash problem occured on the applications but not on the kernel
modules.
The way it works, is that you create a configuration file, and then call
make without parameters
so you build both the kernel and the apps in one step.
Added TARGET_CC_ARCH+="${LDFLAGS}", as recommended in some
mails, without effect.
Adding
INSANE_SKIP_${PN} = True
INSANE_SKIP_${PN}-dev = True
INSANE_SKIP_${PN}-dbg = True
makes the symptom go away.
The core of the recipe is:
----------------------------------------------
inherit module
EXTRA_OEMAKE = ' \
KLIB=${STAGING_KERNEL_DIR} \
KLIB_BUILD=${STAGING_KERNEL_DIR} \
KERNEL_VERSION=${KERNEL_VERSION} \
TARGET_CC_ARCH+="${LDFLAGS}" \
'
do_compile () {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP
oe_runmake
}
-----------------------------------------------
While the kernel modules seems to build OK,
I have a feeling that it is not right to build the applications this way
and this is why I get the error messages.
I'd rather fix the root cause than do the workaround,
but splitting up the build into two steps is really not supported by the
package.
Would appreciate some comments.
--
Best Regards
Ulf Samuelsson
ulf@emagii.com
+46 722 427437
next prev parent reply other threads:[~2012-05-08 21:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-05 17:53 Disable GNU Hash check ? Hauser, Wolfgang (external)
2012-03-05 22:54 ` Denys Dmytriyenko
2012-03-06 8:49 ` Luca Bolognini
2012-03-06 18:33 ` Denys Dmytriyenko
2012-03-06 10:08 ` Hauser, Wolfgang (external)
2012-03-06 18:31 ` Denys Dmytriyenko
2012-05-08 21:08 ` Ulf Samuelsson [this message]
2012-05-09 0:46 ` Khem Raj
2012-05-09 12:34 ` Ulf Samuelsson
2012-05-09 12:50 ` Ulf Samuelsson
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=4FA98B43.3090200@emagii.com \
--to=openembedded@emagii.com \
--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.