Neaten up mm/Makefile
PATCH 1/1 Neaten up mm/Makefile
This patch removes the include of (the now empty) Rules.make, gets rid of the ifndef clause and fixes the indentation.
===== mm/Makefile 1.20 vs edited =====
mm/Makefile +7 -12
@@ -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
Signature · 3 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk