[OE-core] confused by task flags in base.bbclass

Robert P. J. Day rpjday at crashcourse.ca
Thu Oct 22 22:29:21 UTC 2015


  confused ...

addtask install after do_compile
do_install[dirs] = "${D} ${B}"
# Remove and re-create ${D} so that is it guaranteed to be empty
do_install[cleandirs] = "${D}"

  what is the purpose of having "${D}" in both the first and second
line? i thought the "cleandirs" task flag would *already* guarantee
that D would exist and would be empty. so why does it need to be
referred to in both lines?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list