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

Modify makefile to handle empty INSTALL_MOD_PATH. Fixes #79 #82

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

re-l124c41plus
Copy link

Depmod has a "-b" flag to set a different base dir from the usual /lib/modules.
A recent patch (365b0e1) introduced a way to use this in the Makefile.
However it seems like depmod handles an empty string as the argument for the flag by using the current directory as the base dir instead of reverting to the default path. See issue #79.
This patch handles both possibilties in the makefile by checking if INSTALL_MOD_PATH is empty.

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.

2 participants