Skip to contentSkip to conversation

linux-imx-headers: Reduce visibility to imx host alone

PATCH In review Khem Raj 2 participants 6 messages Nov 7, 2018 Arm i.MX and Layerscape

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 linux-imx-headers: Reduce visibility to imx host alone

It uses variables that are specific to meta-fsl layer and when using in multi-BSP env this fails to expand those variables

---
 recipes-kernel/linux/linux-imx-headers_4.9.123.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-kernel/linux/linux-imx-headers_4.9.123.bb +2 -0
index 7be9cf94..77b05cff 100644
@@ -55,3 +55,5 @@ do_install() {
 ALLOW_EMPTY_${PN} = "1"
 
 PACKAGE_ARCH = "${MACHINE_SOCARCH}"
+COMPATIBLE_HOST_imx = ".*"
+COMPATIBLE_HOST ?= "(none)"
Signature · 1 line
2.19.1
author
#1 lore raw

PATCH 2/2 weston-imx: Add dummy weston.ini

When building for non-imx platforms we get warnings e.g.

meta-freescale/recipes-graphics/wayland/weston_4.0.0.imx.bb: Unable to get checksum for weston SRC_URI entry weston.ini: file could not
be found

---
 recipes-graphics/wayland/weston/weston.ini | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 recipes-graphics/wayland/weston/weston.ini
recipes-graphics/wayland/weston/weston.ini new file +1 -0
new file mode 100644
index 00000000..a690506e
@@ -0,0 +1 @@
+# Please define a weston.ini if needed
Signature · 1 line
2.19.1
#2 lore raw

Re: [PATCH 2/2] weston-imx: Add dummy weston.ini

Quoted 7 lines · Khem Raj

When building for non-imx platforms we get warnings e.g.

meta-freescale/recipes-graphics/wayland/weston_4.0.0.imx.bb: Unable to get checksum for weston SRC_URI entry weston.ini: file could not
be found

I think the question is how do non imx platforms get affected by weston-imx - that should not happen - right?

Andreas

author
#3 lore raw

Re: [PATCH 2/2] weston-imx: Add dummy weston.ini

Quoted 12 lines · Andreas Müller
Quoted 7 lines · Khem Raj

When building for non-imx platforms we get warnings e.g.

meta-freescale/recipes-graphics/wayland/weston_4.0.0.imx.bb: Unable to get checksum for weston SRC_URI entry weston.ini: file could not
be found

I think the question is how do non imx platforms get affected by weston-imx - that should not happen - right?

right. Here however we are dealing with a weston fork which is in meta-fsl BSP layer and it only tested with subset of machines. But in a multi-BSP distro like https://github.com/YoeDistro/yoe-distro
we enable many BSPs in single project and MACHINE can be set to non imx based machine.

So either this recipe gets limited to just those imx machines or provides needed files so it can atleast parse

Quoted 1 line

Andreas

#4 lore raw

Re: [PATCH 2/2] weston-imx: Add dummy weston.ini

Quoted 15 lines · Khem Raj
Quoted 12 lines · Andreas Müller
Quoted 7 lines · Khem Raj

When building for non-imx platforms we get warnings e.g.

meta-freescale/recipes-graphics/wayland/weston_4.0.0.imx.bb: Unable to get checksum for weston SRC_URI entry weston.ini: file could not
be found

I think the question is how do non imx platforms get affected by weston-imx - that should not happen - right?

Quoted 9 lines

right. Here however we are dealing with a weston fork which is in meta-fsl BSP layer and it only tested with subset of machines. But in a multi-BSP distro like https://github.com/YoeDistro/yoe-distro
we enable many BSPs in single project and MACHINE can be set to non imx based machine.

So either this recipe gets limited to just those imx machines or provides needed files so it can atleast parse

Ahh - parsing is the problem was not aware.

At work I have a multi (4) BSP too and switch machines more or less daily. Since I don't have this issue (yet) I think it is maybe caused by [1] and the solution should be to follow split too - what do you think?

[1] http://git.openembedded.org/openembedded-core/commit/?id=0f43ea8510ae6148a49eb25accac407b6b301b43

Andreas

author
#5 lore raw

Re: [PATCH 2/2] weston-imx: Add dummy weston.ini

Quoted 27 lines · Andreas Müller
Quoted 2 lines · Khem Raj

On Wed, Nov 7, 2018 at 2:20 PM Andreas Müller <[email protected]>

Quoted 6 lines · wrote:
Quoted 6 lines · Khem Raj
Quoted 4 lines

When building for non-imx platforms we get warnings e.g.

meta-freescale/recipes-graphics/wayland/weston_4.0.0.imx.bb: Unable

to

Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

get checksum for weston SRC_URI entry weston.ini: file could not
be found

I think the question is how do non imx platforms get affected by weston-imx - that should not happen - right?

Quoted 9 lines

right. Here however we are dealing with a weston fork which is in meta-fsl BSP layer and it only tested with subset of machines. But in a multi-BSP distro like https://github.com/YoeDistro/yoe-distro
we enable many BSPs in single project and MACHINE can be set to non imx based machine.

So either this recipe gets limited to just those imx machines or provides needed files so it can atleast parse

Quoted 7 lines

Ahh - parsing is the problem was not aware.

At work I have a multi (4) BSP too and switch machines more or less daily. Since I don't have this issue (yet) I think it is maybe caused by [1] and the solution should be to follow split too - what do you think?

I think you must be seeing it too when building for non imx machine too but since it’s a warning you might be not seeing it breaking the builds but just delete the tmp and then set machine to say rpi3 and do a bitbake core-image-Weston

Quoted 6 lines

[1]
http://git.openembedded.org/openembedded-core/commit/?id=0f43ea8510ae6148a49eb25accac407b6b301b43

Andreas