summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kbuild
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-10-10 07:13:05 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-18 15:56:17 +0200
commitc47ca98d32a22a412ddbc69916cf62bdcdfa1a4e (patch)
tree7f2d46541f29e71465839ca2197ebea1d5aa8b5f /arch/powerpc/Kbuild
parentmacintosh/windfarm_smu_sat: Fix debug output (diff)
downloadlinux-c47ca98d32a22a412ddbc69916cf62bdcdfa1a4e.tar.xz
linux-c47ca98d32a22a412ddbc69916cf62bdcdfa1a4e.zip
powerpc: Move core kernel logic into arch/powerpc/Kbuild
This is a nice cleanup, arch/powerpc/Makefile is long and messy so moving this out helps a little. It also allows us to do: $ make arch/powerpc Which can be helpful if you just want to compile test some changes to arch code and not link everything. Finally it also gives us a single place to do subdir-cc-flags assignments which affect the whole of arch/powerpc, which we will do in a future patch. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/Kbuild')
-rw-r--r--arch/powerpc/Kbuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/powerpc/Kbuild b/arch/powerpc/Kbuild
new file mode 100644
index 000000000000..690a498da050
--- /dev/null
+++ b/arch/powerpc/Kbuild
@@ -0,0 +1,14 @@
+obj-y += kernel/
+obj-y += mm/
+obj-y += lib/
+obj-y += sysdev/
+obj-y += platforms/
+obj-y += math-emu/
+obj-y += crypto/
+obj-y += net/
+
+obj-$(CONFIG_XMON) += xmon/
+obj-$(CONFIG_KVM) += kvm/
+
+obj-$(CONFIG_PERF_EVENTS) += perf/
+obj-$(CONFIG_KEXEC_FILE) += purgatory/