* autotools-brokensep.bbclass not working
@ 2014-10-24 0:08 Vuille, Martin (Martin)
2014-10-24 8:31 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Vuille, Martin (Martin) @ 2014-10-24 0:08 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]
(Using daisy/1.6.1)
I need to build an older version of dhcp because of some
custom functionality that was patched into the client.
That version of dhcp does not support ${B} != ${S}. So I
changed the recipe to inherit autotools-brokensep instead
of inheriting autotools.
But this has no effect. bitbake still tries to build in
${WORKDIR}/build instead of ${S}
bitbake -e shows:
# $B [6 operations]
# set /home/platform/Workspace/dvf99_gitlab/poky/meta/conf/bitbake.conf:348
# "${S}"
# set /home/platform/Workspace/dvf99_gitlab/poky/meta/conf/documentation.conf:77
# [doc] "The Build Directory. The OpenEmbedded build system places generated objects into the Build Directory during a recipe's build process."
# set /home/platform/Workspace/dvf99_gitlab/poky/meta/classes/autotools-brokensep.bbclass:5
# "${S}"
# finalize ast.py:323 [finalize]
# "was: ${S}"
# override[pn-dhcp]:set /home/platform/Workspace/dvf99_gitlab/poky/meta/conf/distro/include/seperatebuilddir.inc:105
# "${SEPB}"
# finalize override[pn-dhcp]:
# "${SEPB}"
# computed:
# "${SEPB}"
so seperatebuilddir.inc is overriding the use of autotools-brokensep.
How can I override the override? What's the point of autotools-brokensep?
MV
[-- Attachment #2: Type: text/html, Size: 4777 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: autotools-brokensep.bbclass not working
2014-10-24 0:08 autotools-brokensep.bbclass not working Vuille, Martin (Martin)
@ 2014-10-24 8:31 ` Richard Purdie
2014-10-24 11:21 ` Vuille, Martin (Martin)
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2014-10-24 8:31 UTC (permalink / raw)
To: Vuille, Martin (Martin); +Cc: yocto@yoctoproject.org
On Fri, 2014-10-24 at 00:08 +0000, Vuille, Martin (Martin) wrote:
> #
> set /home/platform/Workspace/dvf99_gitlab/poky/meta/conf/bitbake.conf:348
> # "${S}"
> #
> set /home/platform/Workspace/dvf99_gitlab/poky/meta/conf/documentation.conf:77
> # [doc] "The Build Directory. The OpenEmbedded build system places
> generated objects into the Build Directory during a recipe's build
> process."
> #
> set /home/platform/Workspace/dvf99_gitlab/poky/meta/classes/autotools-brokensep.bbclass:5
> # "${S}"
> # finalize ast.py:323 [finalize]
> # "was: ${S}"
> #
> override[pn-dhcp]:set /home/platform/Workspace/dvf99_gitlab/poky/meta/conf/distro/include/seperatebuilddir.inc:105
> # "${SEPB}"
> # finalize override[pn-dhcp]:
> # "${SEPB}"
> # computed:
> # "${SEPB}"
>
> so seperatebuilddir.inc is overriding the use of autotools-brokensep.
>
> How can I override the override? What’s the point of
> autotools-brokensep?
The brokensep class was in its initial stages of development in 1.6 so
there are two mechanisms in action and dhcp is being controlled by
that .inc file which no longer exists in 1.7.
You can probably override it by Setting SEPB = "${S}" in the recipe (or
SEPB_pn-dhcp = "${S}" in local.conf).
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: autotools-brokensep.bbclass not working
2014-10-24 8:31 ` Richard Purdie
@ 2014-10-24 11:21 ` Vuille, Martin (Martin)
0 siblings, 0 replies; 3+ messages in thread
From: Vuille, Martin (Martin) @ 2014-10-24 11:21 UTC (permalink / raw)
To: Richard Purdie; +Cc: yocto@yoctoproject.org
> -----Original Message-----
> From: Richard Purdie [mailto:richard.purdie@linuxfoundation.org]
> Sent: October 24, 2014 4:32 AM
> To: Vuille, Martin (Martin)
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] autotools-brokensep.bbclass not working
>
> > so seperatebuilddir.inc is overriding the use of autotools-brokensep.
> >
> > How can I override the override? What’s the point of
> > autotools-brokensep?
>
> The brokensep class was in its initial stages of development in 1.6 so there
> are two mechanisms in action and dhcp is being controlled by that .inc file
> which no longer exists in 1.7.
>
> You can probably override it by Setting SEPB = "${S}" in the recipe (or
> SEPB_pn-dhcp = "${S}" in local.conf).
>
Thanks, setting SEPB in the recipe did the trick.
MV
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-24 11:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 0:08 autotools-brokensep.bbclass not working Vuille, Martin (Martin)
2014-10-24 8:31 ` Richard Purdie
2014-10-24 11:21 ` Vuille, Martin (Martin)
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.