summaryrefslogtreecommitdiff
path: root/fs/devpts/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2003-07-25 02:00:05 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-25 02:00:05 -0700
commitfa3d60b2a653aff5cabf35aa7690be452760974e (patch)
tree243358c0da0cf0ac36f57e8e7a55c7e12b242f2a /fs/devpts/Makefile
parentbae79439f4bd0173e513a761b0719c87a6e0815d (diff)
[PATCH] fs/ Makefile cleanup
Simplify Makefiles in fs/ by utilising the new syntax for composite objects. The new syntax allowed a couple of ifeq ($(CONFIG_FOO),y) to be deleted, resulting in more readable Makefiles. No functional changes introduced.
Diffstat (limited to 'fs/devpts/Makefile')
-rw-r--r--fs/devpts/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/fs/devpts/Makefile b/fs/devpts/Makefile
index f47e29c13987..1d5a2697b969 100644
--- a/fs/devpts/Makefile
+++ b/fs/devpts/Makefile
@@ -4,12 +4,6 @@
obj-$(CONFIG_DEVPTS_FS) += devpts.o
-devpts-objs := inode.o
-
-ifeq ($(CONFIG_DEVPTS_FS_XATTR),y)
-devpts-objs += xattr.o
-endif
-
-ifeq ($(CONFIG_DEVPTS_FS_SECURITY),y)
-devpts-objs += xattr_security.o
-endif
+devpts-y := inode.o
+devpts-$(CONFIG_DEVPTS_FS_XATTR) += xattr.o
+devpts-$(CONFIG_DEVPTS_FS_SECURITY) += xattr_security.o