summaryrefslogtreecommitdiffstats
path: root/fs/ramfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ramfs/Makefile')
-rw-r--r--fs/ramfs/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/ramfs/Makefile b/fs/ramfs/Makefile
new file mode 100644
index 0000000000..d1198adb56
--- /dev/null
+++ b/fs/ramfs/Makefile
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Makefile for the linux ramfs routines.
+#
+
+obj-y += ramfs.o
+
+file-mmu-y := file-nommu.o
+file-mmu-$(CONFIG_MMU) := file-mmu.o
+ramfs-objs += inode.o $(file-mmu-y)