[PATCH] BLOCK: Make it possible to disable the block layer [try #6]
[linux-2.6-block.git] / mm / Makefile
index 4f2166a833b9566039f94b7f05ed712a507153a9..12b3a4eee88d56a3b4d4fe6c4255fa4a1ca81352 100644 (file)
@@ -12,7 +12,7 @@ obj-y                 := bootmem.o filemap.o mempool.o oom_kill.o fadvise.o \
                           readahead.o swap.o truncate.o vmscan.o \
                           prio_tree.o util.o mmzone.o vmstat.o $(mmu-y)
 
-ifeq ($(CONFIG_MMU),y)
+ifeq ($(CONFIG_MMU)$(CONFIG_BLOCK),yy)
 obj-y                  += bounce.o
 endif
 obj-$(CONFIG_SWAP)     += page_io.o swap_state.o swapfile.o thrash.o