[PATCH] Kbuild menu - hide empty NETDEVICES menu when NET is disabled
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Fri, 3 Feb 2006 09:45:21 +0000 (01:45 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 7 Feb 2006 07:53:12 +0000 (02:53 -0500)
commit6967bd81d883ed325fd58840ee02a8da60458e6b
tree56a541a014fada6a9d657243a5de940587cdd2a4
parent99bb25793e4bb8e9b633ea001dd7312b5967385a
[PATCH] Kbuild menu - hide empty NETDEVICES menu when NET is disabled

Make the whole netdevices menu depend on NET, rather than having an empty
submenu when networking is disabled.

Indeed, almost the whole body of the menu was surrounded by if NETDEVICES,
and what was outside depended on NETCONSOLE which is inside the menu.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/Kconfig