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

Fix root makefile to work with linux 6.10 #242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

okt-sergeyn
Copy link
Contributor

Linux 6.10 has broken Onload kernel modules build by replacing $(src) with $(obj) in its makefiles.
See Linux commit 9a0ebe5011f49e932bb0a2cea2034fd65e6e567e

This patch implements a possible approach - create symlinks to Onload source files in build directory.


Possible fix for #236
Checked on CentOS 9 6.10.5-1.el9.elrepo.x86_64 and Ubuntu 22.04 6.8.0-40-generic by running make/ mmakebuildtree --driver && make.

Note: there are other build issues, related to linux-6.10, which I'll address separately.

Linux 6.10 has broken Onload kernel modules build by
replacing $(src) with $(obj) in its makefiles.
See Linux commit 9a0ebe5011f49e932bb0a2cea2034fd65e6e567e

This patch implements a possible approach - create symlinks
to Onload source files in build directory.

Signed-off-by: Sergey Nikitin <sergey.nikitin@oktet.tech>
@okt-sergeyn okt-sergeyn requested a review from a team as a code owner September 16, 2024 12:43
Copy link
Contributor

@ol-alexandra ol-alexandra left a comment

Choose a reason for hiding this comment

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

I'd like to see a comment from @rhughes-xilinx who created the driver build system which Onload is using now.

@rhughes-xilinx
Copy link

One of my goals for this build system was not to have to do this kind of copying/linking (one reason being that it causes difficulties with deleted files), so it's disappointing to see it come back. I shouldn't be spending time on coming up with another intricate trick which avoids it, however. If somebody else has given it a good try and failed then I'll accept that conclusion

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.

3 participants