On Sat, Sep 2, 2017 at 5:34 AM, Robert P. J. Day <[email protected]> wrote: > > just noticed in meta/lib/oeqa/selftest/cases/layerappend.py this > snippet: > > ////// start > > append = """ > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > > SRC_URI_append = " file://appendtest.txt" <--- first > > sysroot_stage_all_append() { > install -m 644 ${WORKDIR}/appendtest.txt ${SYSROOT_DESTDIR}/ > } > > """ > > append2 = """ > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > > SRC_URI_append += "file://appendtest.txt" <--- second > """ > > ////// end > > is there some reason that SRC_URI_append is done correctly in that > first example, but in that weirdly superfluous way using "+=" in the > second example?
send a patch to fix it append += is usually not preferred. > > rday > > -- > > ======================================================================== > Robert P. J. Day Ottawa, Ontario, CANADA > http://crashcourse.ca > > Twitter: http://twitter.com/rpjday > LinkedIn: http://ca.linkedin.com/in/rpjday > ======================================================================== > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
