mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 15:32:12 +02:00
at: modify sources in do_patch
Instead of copying the forked source files into ${S} in do_compile_prepend(), do
it in a do_patch() postfunc. This ensures that the source archiver sees the
changes for compliance and legal verification.
(From OE-Core rev: 7d76d7d90f8e832ddaaebfae125c7f9aecfcac9f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
78e05984b1
commit
5a10a6f153
@@ -47,10 +47,10 @@ INITSCRIPT_PARAMS = "defaults"
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "atd.service"
|
||||
|
||||
|
||||
do_compile_prepend () {
|
||||
copy_sources() {
|
||||
cp -f ${WORKDIR}/posixtm.[ch] ${S}
|
||||
}
|
||||
do_patch[postfuncs] += "copy_sources"
|
||||
|
||||
do_install () {
|
||||
oe_runmake -e "IROOT=${D}" install
|
||||
|
||||
Reference in New Issue
Block a user