Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libspdm] unsupported architecture 'mipsel' #932

Open
fairbird opened this issue Feb 7, 2025 · 3 comments
Open

[libspdm] unsupported architecture 'mipsel' #932

fairbird opened this issue Feb 7, 2025 · 3 comments

Comments

@fairbird
Copy link
Contributor

fairbird commented Feb 7, 2025

ERROR: /home/raed/build_image/My-Openpli/openpli-dreambox-oe-core/meta-openembedded/meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb: unsupported architecture 'mipsel'
ERROR: /home/raed/build_image/My-Openpli/openpli-dreambox-oe-core/meta-openembedded/meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb: unsupported architecture 'mipsel'

@OldManYellsAtCloud
Copy link
Contributor

Yeah, it's like that unfortunately. The built project itself doesn't support this arch, so it is excluded from the recipe also: https://github.com/DMTF/libspdm/blob/main/CMakeLists.txt#L50

@fairbird
Copy link
Contributor Author

fairbird commented Feb 7, 2025

From my side I have solved with to add These two lines in (mips32el.inc) files

BBMASK += "/meta-openembedded/meta-oe/recipes-support/libspdm/"
BBMASK += "/meta-openembedded/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/"

@kraj
Copy link
Contributor

kraj commented Feb 8, 2025

you can add

COMPATIBLE_HOST:mipsarcho32 = "null"

to the recipe meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb
and also to meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils_0.7.2.bb

I will accept such a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants