mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
cwautomacros: Ensure version is set deterministically
The makefile injects the current date into the version file. Do this deterministically with SOURCE_DATE_EPOCH. (From OE-Core rev: c135012f85d8e1f4b50880b580514410caacbcf5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 31f2ad739ea776a1e11b5cef5434df188007c7bf) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ccfa84bf18
commit
2c2ce8063b
|
|
@ -13,7 +13,7 @@ do_configure() {
|
|||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake CWAUTOMACROSPREFIX=${D}${prefix} install
|
||||
oe_runmake LABEL=`date -d @${SOURCE_DATE_EPOCH} +%Y%m%d` CWAUTOMACROSPREFIX=${D}${prefix} install
|
||||
|
||||
# cleanup buildpaths in autogen.sh
|
||||
sed -i -e 's,${D},,g' ${D}${prefix}/share/cwautomacros/scripts/autogen.sh
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user