]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
gcc-source: Ensure deploy_source_date_epoch sstate hash doesn't change
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Nov 2022 14:14:33 +0000 (14:14 +0000)
committerSteve Sakoman <steve@sakoman.com>
Sat, 19 Nov 2022 13:59:47 +0000 (03:59 -1000)
Currently if you switch machines, gcc-source do_deploy_source_date_epoch
would re-run as the stamps are tune specific. This hasn't caused much
of an issue until now, however if we fix the gcc recipes to reuse the
timestamp from this task, it does then create problems.

Copy code from allarch to ensure this task hash doesn't change between
machines/tunes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7e052d03464ba5e880a6c5a0e45ff2f467ef97e8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/gcc/gcc-source.inc

index bf33a4b31ff1145bc30a170e84094c0cf949d42c..265bcf4bef54569ed59dc24a4df795ddb3227cee 100644 (file)
@@ -17,6 +17,13 @@ STAMPCLEAN = "${STAMPS_DIR}/work-shared/gcc-${PV}-*"
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = ""
 PACKAGES = ""
+TARGET_ARCH = "allarch"
+TARGET_AS_ARCH = "none"
+TARGET_CC_ARCH = "none"
+TARGET_LD_ARCH = "none"
+TARGET_OS = "linux"
+baselib = "lib"
+PACKAGE_ARCH = "all"
 
 B = "${WORKDIR}/build"