Skip to content
Commit 8b5f4eb3 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Jakub Kicinski
Browse files

net: move CONFIG_NET guard to top Makefile



When CONFIG_NET is disabled, nothing under the net/ directory is
compiled. Move the CONFIG_NET guard to the top Makefile so the net/
directory is entirely skipped.

When Kbuild visits net/Makefile, CONFIG_NET is obvioulsy 'y' because
CONFIG_NET is a bool option. Clean up net/Makefile.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20210125231659.106201-1-masahiroy@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 69783429
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment