Skip to contentSkip to conversation

u-boot-boundary-fw-utils: Build cross recipe

PATCH In review Khem Raj 2 participants 3 messages Oct 22, 2018 – Oct 23, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 u-boot-boundary-fw-utils: Build cross recipe

---
 recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb +2 -1
index 0a7697a..804a504 100644
@@ -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 = "(.*)"
Signature · 1 line
2.19.1
#1 lore raw

Hi,

Quoted 11 lines · Khem Raj
---
 recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb +0 -0
index 0a7697a..804a504 100644

recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb RPROVIDES_${PN} += "u-boot-fw-utils" · line 48

Quoted 6 lines
recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb +2 -1
@@ -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

author
#2 lore raw
Quoted 17 lines · Gary Bisson

Hi,

Review

Quoted 7 lines · Khem Raj
---
 recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
(quoted diff) +0 -0

b/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb

Quoted 6 lines

index 0a7697a..804a504 100644

recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb +0 -0
@@ -44,4 +44,5 @@ RPROVIDES_${PN} += "u-boot-fw-utils"
 BBCLASSEXTEND = "cross"
 
Quoted 8 lines

recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb RPROVIDES_${PN} += "u-boot-fw-utils" · line 48

Quoted 4 lines
recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb +2 -1
 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

Quoted 5 lines

Regards,
Gary