aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIulia Manda <iulia.manda21@gmail.com>2014-10-20 22:28:39 +0300
committerJosh Triplett <josh@joshtriplett.org>2014-10-29 11:26:49 -0700
commitc4a0216f15f9d1844e27e83d98904936cb3ff5fc (patch)
tree7271c38482019e5202e7003d1771695626e6e799
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadlinux-tiny/no-notify.tar.gz
fs: Conditionally stop recursing into notify/tiny/no-notify
This patch stops the build from recursing into fs/notify and its subdirectories. Because in a tinyconfig build the generated built-in.o-s were empty (no file was compiled), this is speeding up the compilation process. Signed-off-by: Iulia Manda <iulia.manda21@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Josh Triplett <josh@joshtriplett.org>
-rw-r--r--fs/Makefile2
-rw-r--r--fs/notify/Makefile6
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/Makefile b/fs/Makefile
index 90c88529892bfc..fb7646ed5682be 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -21,7 +21,7 @@ endif
obj-$(CONFIG_PROC_FS) += proc_namespace.o
-obj-y += notify/
+obj-$(CONFIG_FSNOTIFY) += notify/
obj-$(CONFIG_EPOLL) += eventpoll.o
obj-$(CONFIG_ANON_INODES) += anon_inodes.o
obj-$(CONFIG_SIGNALFD) += signalfd.o
diff --git a/fs/notify/Makefile b/fs/notify/Makefile
index 96d3420d0242ba..bad76d1f6eeb6c 100644
--- a/fs/notify/Makefile
+++ b/fs/notify/Makefile
@@ -1,6 +1,6 @@
obj-$(CONFIG_FSNOTIFY) += fsnotify.o notification.o group.o inode_mark.o \
mark.o vfsmount_mark.o fdinfo.o
-obj-y += dnotify/
-obj-y += inotify/
-obj-y += fanotify/
+obj-$(CONFIG_DNOTIFY) += dnotify/
+obj-$(CONFIG_INOTIFY_USER) += inotify/
+obj-$(CONFIG_FANOTIFY) += fanotify/