Masahiro Yamada 8b5f4eb3ab 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: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20210125231659.106201-1-masahiroy@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-01-27 17:03:52 -08:00
..
2020-12-21 10:28:02 -08:00
2020-12-16 11:01:04 -08:00
2021-01-15 20:02:34 -08:00
2020-10-30 11:43:42 -07:00
2020-10-30 11:34:09 -07:00
2021-01-27 16:53:55 -08:00
2020-11-17 15:22:06 -04:00
2021-01-22 20:41:29 -08:00
2021-01-19 13:01:50 -08:00
2020-12-16 11:01:04 -08:00
2020-10-29 19:27:45 +01:00
2020-12-16 12:44:05 -08:00