diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-14 17:24:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-22 23:46:29 +0100 |
commit | 7139d8d63b8f0311d983b6dee161bee86252efec (patch) | |
tree | 2d5305c728c15dcaf95dbb820192e1429dad41cc /meta/recipes-devtools/gcc/gcc-common.inc | |
parent | 53e89f549977e75e90d4cf3019e35697d0907068 (diff) | |
download | poky-7139d8d63b8f0311d983b6dee161bee86252efec.tar.gz |
gcc-source: Fix incorrect task dependencies from ${B}
Some tasks may reference ${B} for gcc-source which in general would not exist.
It has dependencies on HOST_SYS and TARGET_SYS which are not appropriate for a
shared recipe like gcc-source. This causes problems for the archiver and
multiconfigs in particlar.
Set B to something else to avoid these task hash issues.
Acked-by: Jose Quaresma <jose.quaresma@foundries.io>
(From OE-Core rev: 7211a6fb51ef0e7f5c919f98a33eaf8094b9c814)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit beb2a76c591e985c6fc7ed473abd1bee27f955a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 0f70be7dd4..2abc0e355d 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -96,7 +96,7 @@ BINV = "${PV}" | |||
96 | #S = "${WORKDIR}/gcc-${PV}" | 96 | #S = "${WORKDIR}/gcc-${PV}" |
97 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" | 97 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" |
98 | 98 | ||
99 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | 99 | B ?= "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" |
100 | 100 | ||
101 | target_includedir ?= "${includedir}" | 101 | target_includedir ?= "${includedir}" |
102 | target_libdir ?= "${libdir}" | 102 | target_libdir ?= "${libdir}" |