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

kernel: Replace deprecated SUBDIRS with M in Makefile #925

Merged
merged 2 commits into from
May 21, 2024

Conversation

ReeseWang
Copy link
Contributor

Please sign (check) the below before submitting the Pull Request:

Describe changes:

The use of SUBDIRS to specify the location of external module source files has been deprecated since Linux kernel version 5.3. It caused unintended file deletion in my Linux 6.8.1 source tree. The recommended replacement is to use M instead.

This commit updates the Makefile to use M=$(HERE) instead of SUBDIRS=$(HERE) in the 'clean' target. This change ensures compatibility with newer Linux kernels and avoids potential issues during the build process, such as the unintended deletion of files.

The use of SUBDIRS to specify the location of external module source
files has been deprecated since Linux kernel version 5.3. The
recommended replacement is to use M instead.

This commit updates the Makefile to use M=$(HERE) instead of
SUBDIRS=$(HERE) in the 'clean' target. This change ensures compatibility
with newer Linux kernels and avoids potential issues during the build
process, such as the unintended deletion of files.
@cardigliano cardigliano merged commit 9318652 into ntop:dev May 21, 2024
1 check passed
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.

None yet

2 participants