Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n
commit05ff09706bacc92ccadde3a74289118789581475
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 30 Jul 2007 00:25:22 +0000 (30 10:25 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 30 Jul 2007 00:37:45 +0000 (29 17:37 -0700)
treef18f0a1ff1ac43f9f83fa3ee3508005e83259566
parenta6ce22a5f61ba838b43763bf1e5be399f9dee4d0
Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

Gabriel C reports lguest doesn't compile with CONFIG_BLOCK=n.  Fix this
by introducing a config var for the block device, which depends on
LGUEST && BLOCK.  Do the same for the net driver, rather then depending
gratuitously on CONFIG_NET.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Gabriel C <nix.or.die@googlemail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/Makefile
drivers/lguest/Kconfig
drivers/net/Makefile