mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
The gcc_multilib_setup function is a function that is run at the do_configure step, so it's counted into the signature computation. The MULTILIB_VARIANTS this function uses is also extracted to be taken into consideration. After the change of setting MULTILIB_VARIANTS explictly vardeps on MULTILIBS, the change of MULTILIBS changes the signature, thus causing rebuilding. However, in case of gcc-crosssdk, the setting of multilib should have no effect on it, as it's used to build nativesdk packages, not the target packages. So ignore MULTILIB_VARIANTS in signature computation. This fixes oe-selftest case sstatetests.SStateHashSameSigs2.test_sstate_nativesdk_samesigs_multilib. (From OE-Core rev: 537c71162a711dec32a63a657c4b101269a3e267) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
460 B
PHP
15 lines
460 B
PHP
inherit crosssdk
|
|
|
|
PN = "gcc-crosssdk-${SDK_SYS}"
|
|
|
|
SYSTEMHEADERS = "${SDKPATHNATIVE}${prefix_nativesdk}/include"
|
|
SYSTEMLIBS = "${SDKPATHNATIVE}${base_libdir_nativesdk}/"
|
|
SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
|
|
|
|
GCCMULTILIB = "--disable-multilib"
|
|
|
|
DEPENDS = "virtual/${TARGET_PREFIX}binutils gettext-native ${NATIVEDEPS}"
|
|
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
|
|
|
|
gcc_multilib_setup[vardepsexclude] = "MULTILIB_VARIANTS"
|