[yocto] autotools-brokensep.bbclass not working

Vuille, Martin (Martin) vmartin at avaya.com
Thu Oct 23 17:08:51 PDT 2014


(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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141024/de322fa1/attachment.html>


More information about the yocto mailing list