-
Notifications
You must be signed in to change notification settings - Fork 74
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
Installing the linux-kbuild package for cross-builds in the SDK's rootfs #109
Comments
|
@jan-kiszka Thank you for the answer.
Yes. I added linux-kbuild-${KERNEL_NAME} as well. I wrote simple kernel module and built it in the SDK's chroot environment.
The fixdep command is aarch64 binary so it won't execute on x86-64 host if binfmt_misc is not enabled on the host.
So, I wanted to install native linux-kbuild package in SDK. |
As I wrote, only use Then, do not touch |
@jan-kiszka Understood. I’ll look into it. Thank you. |
In revision "b7e3c78766c3b95198b7fbe5307e0fdad672b0cd" of isar, I was able to install the linux-kbuild-${KERNEL_NAME}-native package in the SDK's rootfs by adding the following configuration to local.conf.
The SDK build was done with the following command line.
When I check the fixdep command, it is an x86-64 binary.
However, in revision 735dc16, the following error occurred.
I added linux-kbuild-${KERNEL_NAME}-${DISTRO_ARCH}-cross to SDK_INSTALL instead of linux-kbuild-${KERNEL_NAME}-native, but the following error occurred.
In the case of linux-kbuild-${KERNEL_NAME}, I was able to include it in the SDK's rootfs, but the binary is for the target.
How can I install the linux-kbuild package for cross-builds in the SDK's rootfs, as in revision b7e3c78?
The text was updated successfully, but these errors were encountered: