On Sun, Nov 21, 2010 at 12:42 PM, Eric Bénard wrote:
> * setting PACKAGE_ARCH = "${MACHINE_ARCH}" in an amend.inc actually
> leads to a package with the correct machine arch but the
> work/stage/stamp dirs are not correct because MULTIMACH_ARCH is not
> updated after amend.inc is parsed.
>
> * th
* setting PACKAGE_ARCH = "${MACHINE_ARCH}" in an amend.inc actually
leads to a package with the correct machine arch but the
work/stage/stamp dirs are not correct because MULTIMACH_ARCH is not
updated after amend.inc is parsed.
* this patch :
- factorizes the code which compute MULTIMACH_ARCH in b
On 21/11/2010 18:53, Chris Larson wrote:
2010/11/21 Eric Bénard
+#
+# We always try to scan SRC_URI for urls with machine overrides
+# unless the package sets SRC_URI_OVERRIDES_PACKAGE_ARCH=0
+#
+override = bb.data.getVar('SRC_URI_OVERRIDES_PACKAGE_ARCH', d, 1)
+if overr
2010/11/21 Eric Bénard
> +#
> +# We always try to scan SRC_URI for urls with machine overrides
> +# unless the package sets SRC_URI_OVERRIDES_PACKAGE_ARCH=0
> +#
> +override = bb.data.getVar('SRC_URI_OVERRIDES_PACKAGE_ARCH', d, 1)
> +if override != '0' and is_machine_speci
2010/11/21 Eric Bénard :
> * setting PACKAGE_ARCH = "${MACHINE_ARCH}" in an amend.inc actually
> leads to a package with the correct machine arch but the
> work/stage/stamp dirs are not correct because MULTIMACH_ARCH is not
> updated after amend.inc is parsed.
>
> * this patch :
> - factorizes the
* setting PACKAGE_ARCH = "${MACHINE_ARCH}" in an amend.inc actually
leads to a package with the correct machine arch but the
work/stage/stamp dirs are not correct because MULTIMACH_ARCH is not
updated after amend.inc is parsed.
* this patch :
- factorizes the code which compute MULTIMACH_ARCH in b