From 55ff56e35c63a903d2aba3fbb1bee2b78e8a82b2 Mon Sep 17 00:00:00 2001 From: Matthew Wilcox Date: Sun, 1 Dec 2002 16:37:39 -0800 Subject: [PATCH] Neaten up mm/Makefile This removes the include of (the now empty) Rules.make, gets rid of the ifndef clause and fixes the indentation. --- mm/Makefile | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/mm/Makefile b/mm/Makefile index 10f362c888bb..1538bd37bce5 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -4,18 +4,13 @@ export-objs := shmem.o filemap.o mempool.o page_alloc.o page-writeback.o -obj-y := bootmem.o filemap.o mempool.o oom_kill.o page_alloc.o \ - page-writeback.o pdflush.o readahead.o slab.o swap.o \ - truncate.o vcache.o vmscan.o +mmu-y := nommu.o +mmu-$(CONFIG_MMU) := fremap.o highmem.o madvise.o memory.o mincore.o \ + mlock.o mmap.o mprotect.o mremap.o msync.o rmap.o \ + shmem.o vmalloc.o -obj-$(CONFIG_MMU) += fremap.o highmem.o madvise.o memory.o \ - mincore.o mlock.o mmap.o mprotect.o mremap.o \ - msync.o rmap.o shmem.o vmalloc.o +obj-y := bootmem.o filemap.o mempool.o oom_kill.o \ + page_alloc.o page-writeback.o pdflush.o readahead.o \ + slab.o swap.o truncate.o vcache.o vmscan.o $(mmu-y) obj-$(CONFIG_SWAP) += page_io.o swap_state.o swapfile.o - -ifneq ($(CONFIG_MMU),y) -obj-y += nommu.o -endif - -include $(TOPDIR)/Rules.make -- cgit v1.2.3