-
Notifications
You must be signed in to change notification settings - Fork 259
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
Conversation
@@ -57,6 +57,6 @@ addtask deploy after do_install | |||
|
|||
PACKAGE_ARCH = "${MACHINE_SOCARCH}" | |||
|
|||
FILES:${PN} = "${nonarch_base_libdir}/firmware" | |||
FILES:${PN} = "${baselib}/firmware" |
There was a problem hiding this 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.
There was a problem hiding this comment.
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
There was a problem hiding this 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 |
There was a problem hiding this comment.
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]>
nonarch_base_libdir
with baselib
to avoid packaging errorbase_libdir
with nonarch_base_libdir
When using multilib configuration there is a build break at packaging step