[OE-core] is 'SRC_URI_append += "file://appendtest.txt"' in layerappend.py deliberate?
Robert P. J. Day
rpjday at crashcourse.ca
Sat Sep 2 12:34:40 UTC 2017
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?
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