kbuild: remove $(MODLIB)/source symlink
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 23 Aug 2023 11:50:44 +0000 (20:50 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 29 Aug 2023 13:38:23 +0000 (22:38 +0900)
commitd8131c2965d5ee59bfa4d548641e52a13cbe17c9
tree0c629abda223ed60e6a2a35e22dba95c326fecaf
parent79b96c332241c06b4c63cfa0e23a539558b79b90
kbuild: remove $(MODLIB)/source symlink

This reverts the old commit "kbuild: Introduce source symlink in
/lib/modules/.../". [1]

The current Kbuild does not require $(MODLIB)/source. If the kernel was
built in a separate output directory, $(MODLIB)/build/Makefile wraps
the Makefile in the source tree. It is enough for building external
modules.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=e09e58867154b8aae0a3ac26a9b1c05962f5a355

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Makefile