]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/ramfs/Makefile
Merge branch 'x86/setup' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux...
[karo-tx-linux.git] / fs / ramfs / Makefile
index f096f30070913f88667f549080dedb9a8d80b6f9..c71e65dcad2575f60f5776f88061681d1f24f33f 100644 (file)
@@ -2,6 +2,8 @@
 # Makefile for the linux ramfs routines.
 #
 
-obj-$(CONFIG_RAMFS) += ramfs.o
+obj-y += ramfs.o
 
-ramfs-objs := inode.o
+file-mmu-y := file-nommu.o
+file-mmu-$(CONFIG_MMU) := file-mmu.o
+ramfs-objs += inode.o $(file-mmu-y)