_modpost: $(if $(KBUILD_MODPOST_NOFINAL) and $(modules: ko: o) and $(modules))
\ scripts \ Makefile modpost
Don't understand the $(modules: ko: o), he belongs to the variable replacement references?
But the makefile to replace references should not be $(modules: ko.=o)?
CodePudding user response:
See community primitive patch I think he is write wrong,,,CodePudding user response:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/? H=v5.7 - rc2 & amp; Id=ea837f1c050344c3f884531a195c6e339b1a54e8 intention should be to $(modules: ko.=o)CodePudding user response:
- _modpost: $(modules)+ # Stop after building. O files if NOFINAL is set. The top service the compile tests quicker
+ _modpost: $(if $(KBUILD_MODPOST_NOFINAL) and $(modules: ko: o) and $(modules))
https://github.com/torvalds/linux/commit/9b9a3f20cbe0ba9269cde6fff9f9c69907e150cf#diff-742ab4bcbdb44545def9a3982e0ac3b0
Until this is deleted, the syntax should be right
CodePudding user response: