Skip to contentSkip to conversation

u-boot-boundary-fw-utils: Define a dummy fw_env.config

PATCH In review Khem Raj 3 participants 5 messages Oct 21, 2018 – Oct 22, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 u-boot-boundary-fw-utils: Define a dummy fw_env.config

When building the cross recipe it complains about missing file especially on non arm/aarch64 targets

Fixes
WARNING:
/mnt/a/yoe/sources/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb:
Unable to get checksum for u-boot-boundary-fw-utils-cross SRC_URI entry fw_env.config: file could not be found

---
 recipes-bsp/u-boot/u-boot-boundary-fw-utils/fw_env.config | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-boundary-fw-utils/fw_env.config
recipes-bsp/u-boot/u-boot-boundary-fw-utils/fw_env.config new file +2 -0
new file mode 100644
index 0000000..8af3596
@@ -0,0 +1,2 @@
+# This is a dummy file. If this is being used that means it is missing for the machine/arch
+# which is being compiled here
Signature · 1 line
2.19.1
#1 lore raw

Hi,

Quoted 9 lines · Khem Raj

When building the cross recipe it complains about missing file especially on non arm/aarch64 targets

Fixes
WARNING:
/mnt/a/yoe/sources/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb:
Unable to get checksum for u-boot-boundary-fw-utils-cross SRC_URI entry fw_env.config: file could not be found

We should then limit the package to ARM/ARM64 architectures only as it should only be built for Boundary Devices platforms anyway (all of which are ARM).

Adding a dummy config file doesn't feel right.

Also, this package should only be built when explicitly added to your packages list, not sure why someone would build it when using machines other than nitrogen*.

Regards,
Gary

author
#2 lore raw
Quoted 18 lines · Gary Bisson

Hi,

Quoted 7 lines · Khem Raj

When building the cross recipe it complains about missing file especially on non arm/aarch64 targets

Fixes
WARNING:
/mnt/a/yoe/sources/meta-freescale-3rdparty/recipes-bsp/u-boot/

u-boot-boundary-fw-utils_2018.07.bb:

Quoted 2 lines

Unable to get checksum for u-boot-boundary-fw-utils-cross SRC_URI entry fw_env.config: file could not be found

We should then limit the package to ARM/ARM64 architectures only as it should only be built for Boundary Devices platforms anyway (all of which are ARM).

Quoted 5 lines

Adding a dummy config file doesn't feel right.

Also, this package should only be built when explicitly added to your packages list, not sure why someone would build it when using machines other than nitrogen*.

This all is true for target recipe and in a way we already cover that this is a cross recipe type and I am not sure if we can apply target overrides to it we can however make this dummy config apply conditionally for class-cross kind recipe

Quoted 5 lines

Regards,
Gary

#3 lore raw
In reply to Khem Raj
Quoted 10 lines · Khem Raj

When building the cross recipe it complains about missing file especially on non arm/aarch64 targets

Fixes
WARNING:
/mnt/a/yoe/sources/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb:
Unable to get checksum for u-boot-boundary-fw-utils-cross SRC_URI entry fw_env.config: file could not be found

In cross case, we can still match the machine, can't we?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750
author
#4 lore raw
Quoted 11 lines · Otavio Salvador
Quoted 9 lines · Khem Raj

When building the cross recipe it complains about missing file especially on non arm/aarch64 targets

Fixes
WARNING:
/mnt/a/yoe/sources/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb:
Unable to get checksum for u-boot-boundary-fw-utils-cross SRC_URI entry fw_env.config: file could not be found

Quoted 3 lines
Quoted 1 line

In cross case, we can still match the machine, can't we?

arch I know, machine probably not. Need to check

Quoted 5 lines

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750