[S390] standardize Kbuild rules
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 25 Oct 2010 14:10:09 +0000 (16:10 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 25 Oct 2010 14:10:14 +0000 (16:10 +0200)
Introducing this Kbuild file allow us to:

make arch/s390/

And thus building all the core part of s390.
Same as on other architectures.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Kbuild [new file with mode: 0644]
arch/s390/Makefile

diff --git a/arch/s390/Kbuild b/arch/s390/Kbuild
new file mode 100644 (file)
index 0000000..ae4b010
--- /dev/null
@@ -0,0 +1,6 @@
+obj-y += kernel/
+obj-y += mm/
+obj-y += crypto/
+obj-y += appldata/
+obj-y += hypfs/
+obj-y += kvm/
index 0c9e6c6..9d31847 100644 (file)
@@ -94,8 +94,8 @@ head-y                := arch/s390/kernel/head.o
 head-y         += arch/s390/kernel/$(if $(CONFIG_64BIT),head64.o,head31.o)
 head-y         += arch/s390/kernel/init_task.o
 
-core-y         += arch/s390/mm/ arch/s390/kernel/ arch/s390/crypto/ \
-                  arch/s390/appldata/ arch/s390/hypfs/ arch/s390/kvm/
+# See arch/s390/Kbuild for content of core part of the kernel
+core-y         += arch/s390/
 
 libs-y         += arch/s390/lib/
 drivers-y      += drivers/s390/