diff options
| author | Matthew Wilcox <willy@debian.org> | 2002-12-01 16:37:39 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2002-12-01 16:37:39 -0800 |
| commit | 55ff56e35c63a903d2aba3fbb1bee2b78e8a82b2 (patch) | |
| tree | 6e967996bd15f7d05d6779f9eb9cf9dac9247f95 | |
| parent | 8a0611595372910f0ead55d294a48a89136b7006 (diff) | |
[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.
| -rw-r--r-- | mm/Makefile | 19 |
1 files 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 |
