diff options
author | Ross Burton <ross.burton@intel.com> | 2015-11-04 19:45:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-16 11:39:34 +0000 |
commit | 5a10a6f153744922a5f0cab0ea98427a1d67ad6c (patch) | |
tree | 9156ce227b7147962ce495d2500593210dffccbc /meta/recipes-extended/at | |
parent | 78e05984b1ac48b1f25547ccd9740611cd5890a9 (diff) | |
download | poky-5a10a6f153744922a5f0cab0ea98427a1d67ad6c.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended/at')
-rw-r--r-- | meta/recipes-extended/at/at_3.1.16.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/at/at_3.1.16.bb b/meta/recipes-extended/at/at_3.1.16.bb index 0512bcb836..b11b587fcf 100644 --- a/meta/recipes-extended/at/at_3.1.16.bb +++ b/meta/recipes-extended/at/at_3.1.16.bb | |||
@@ -47,10 +47,10 @@ INITSCRIPT_PARAMS = "defaults" | |||
47 | 47 | ||
48 | SYSTEMD_SERVICE_${PN} = "atd.service" | 48 | SYSTEMD_SERVICE_${PN} = "atd.service" |
49 | 49 | ||
50 | 50 | copy_sources() { | |
51 | do_compile_prepend () { | ||
52 | cp -f ${WORKDIR}/posixtm.[ch] ${S} | 51 | cp -f ${WORKDIR}/posixtm.[ch] ${S} |
53 | } | 52 | } |
53 | do_patch[postfuncs] += "copy_sources" | ||
54 | 54 | ||
55 | do_install () { | 55 | do_install () { |
56 | oe_runmake -e "IROOT=${D}" install | 56 | oe_runmake -e "IROOT=${D}" install |