mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Neaten up mm/Makefile
@ 2002-12-02 15:02 Matthew Wilcox
  0 siblings, 0 replies; only message in thread
From: Matthew Wilcox @ 2002-12-02 15:02 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Alan Cox, Kai Germaschewski, linux-kernel


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 =====
--- 1.20/mm/Makefile	Tue Nov 26 08:33:23 2002
+++ edited/mm/Makefile	Mon Dec  2 06:01:36 2002
@@ -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

-- 
"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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-02 14:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-02 15:02 [PATCH] Neaten up mm/Makefile Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®