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

imx-mcore-demos: Fix install for multilib Replace base_libdir with nonarch_base_libdir #1682

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

valijec
Copy link
Contributor

@valijec valijec commented Nov 2, 2023

When using multilib configuration there is a build break at packaging step

@@ -57,6 +57,6 @@ addtask deploy after do_install

PACKAGE_ARCH = "${MACHINE_SOCARCH}"

FILES:${PN} = "${nonarch_base_libdir}/firmware"
FILES:${PN} = "${baselib}/firmware"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's do_install that needs to be fixed, installing to nonarch_base_libdir instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @thochstein, fixed that

Copy link
Contributor

@thochstein thochstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's do_install that needs to be fixed, installing to nonarch_base_libdir instead.

# install elf format binary to /lib/firmware
install -d ${D}${base_libdir}/firmware
install -m 0644 ${S}/*.elf ${D}${base_libdir}/firmware
# install elf format binary to /usr/lib/firmware
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be better to drop this line as it depends on multilib or usermerge

Replace  `base_libdir` with `nonarch_base_libdir`

Signed-off-by: Valentin Jec <[email protected]>
@valijec valijec changed the title mcore: Replace nonarch_base_libdir with baselib to avoid packaging error imx-mcore-demos: Fix install for multilib Replace base_libdir with nonarch_base_libdir Nov 3, 2023
@otavio otavio merged commit 2d12905 into Freescale:master Nov 3, 2023
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

Successfully merging this pull request may close these issues.

4 participants