aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/Kbuild
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2011-12-27 11:27:14 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2011-12-27 11:27:12 +0100
commit3b7f993394db7c446c251fb8eb32ec501a330acc (patch)
tree3fe348b8164385456807e905c5676a2a3df51175 /arch/s390/Kbuild
parent[S390] kvm: move cmf host id constant out of lowcore (diff)
downloadlinux-dev-3b7f993394db7c446c251fb8eb32ec501a330acc.tar.xz
linux-dev-3b7f993394db7c446c251fb8eb32ec501a330acc.zip
[S390] make arch/s390 subdirectories depend on config option
Only add subdirectories of arch/s390 to kbuild if their respective config option is selected. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/Kbuild')
-rw-r--r--arch/s390/Kbuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/s390/Kbuild b/arch/s390/Kbuild
index ae4b01060edd..9858476fa0fe 100644
--- a/arch/s390/Kbuild
+++ b/arch/s390/Kbuild
@@ -1,6 +1,7 @@
-obj-y += kernel/
-obj-y += mm/
-obj-y += crypto/
-obj-y += appldata/
-obj-y += hypfs/
-obj-y += kvm/
+obj-y += kernel/
+obj-y += mm/
+obj-$(CONFIG_KVM) += kvm/
+obj-$(CONFIG_CRYPTO_HW) += crypto/
+obj-$(CONFIG_S390_HYPFS_FS) += hypfs/
+obj-$(CONFIG_APPLDATA_BASE) += appldata/
+obj-$(CONFIG_MATHEMU) += math-emu/