Discussion:
[meta-freescale] [3rdparty][PATCH v2] u-boot-boundary-fw-utils: Build cross recipe
Khem Raj
2018-10-22 22:06:42 UTC
Permalink
Signed-off-by: Khem Raj <***@gmail.com>
---
recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb b/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb
index 0a7697a..804a504 100644
--- a/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb
+++ b/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb
@@ -44,4 +44,5 @@ RPROVIDES_${PN} += "u-boot-fw-utils"
BBCLASSEXTEND = "cross"

COMPATIBLE_MACHINE = "(imx)"
-COMPATIBLE_MACHINE_class-cross = "(.*)"
+COMPATIBLE_MACHINE_class-cross_arm = "(.*)"
+COMPATIBLE_MACHINE_class-cross_aarch64 = "(.*)"
--
2.19.1

--
Gary Bisson
2018-10-23 08:22:33 UTC
Permalink
Hi,
Post by Khem Raj
---
recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb b/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb
index 0a7697a..804a504 100644
--- a/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb
+++ b/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb
@@ -44,4 +44,5 @@ RPROVIDES_${PN} += "u-boot-fw-utils"
BBCLASSEXTEND = "cross"
COMPATIBLE_MACHINE = "(imx)"
-COMPATIBLE_MACHINE_class-cross = "(.*)"
+COMPATIBLE_MACHINE_class-cross_arm = "(.*)"
+COMPATIBLE_MACHINE_class-cross_aarch64 = "(.*)"
Sorry for the dumb question but why is class-cross needed in the first
place? Isn't MACHINE = (imx) sufficient to only target imx platforms
which can only be arm/arm64.

Regards,
Gary
--
Khem Raj
2018-10-23 09:42:49 UTC
Permalink
Post by Khem Raj
Hi,
Post by Khem Raj
---
recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb
b/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb
Post by Khem Raj
index 0a7697a..804a504 100644
--- a/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb
+++ b/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb
@@ -44,4 +44,5 @@ RPROVIDES_${PN} += "u-boot-fw-utils"
BBCLASSEXTEND = "cross"
COMPATIBLE_MACHINE = "(imx)"
-COMPATIBLE_MACHINE_class-cross = "(.*)"
+COMPATIBLE_MACHINE_class-cross_arm = "(.*)"
+COMPATIBLE_MACHINE_class-cross_aarch64 = "(.*)"
Sorry for the dumb question but why is class-cross needed in the first
place? Isn't MACHINE = (imx) sufficient to only target imx platforms
which can only be arm/arm64.
Honestly I don’t know what the usecase is I am just trying to avoid the
spill it’s having for non arm machines

Ideally native recipe should have been enough but since I am not using it
someone who has a usecase should chime in and probably just delete the
cross portion
Post by Khem Raj
Regards,
Gary
Loading...