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

Is it possible to apply a patch to an external driver before configure checks it? #957

Open
JDarnley opened this issue Apr 25, 2024 · 1 comment

Comments

@JDarnley
Copy link
Contributor

I considered patching a kernel API change in mlx5 but I am not sure if it is possible to apply a patch before configure tries building the driver without the netmap patch.

Are there extra patches I could define somewhere?

Can I skip the check before patching?

@giuseppelettieri
Copy link
Collaborator

There is no direct support for this, but you should be able to hook in the mlx5@prepare command, which is run during both builds (with and without the netmap patch). Put a config.mak file in your build directory with something like

mlx5@prepare += ; patch ...

and then run configure as usual

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

2 participants