xref: /linux/arch/powerpc/Kbuild (revision 547f574fd9d5e3925d47fd44decbf6ab6df94b0e)
1# SPDX-License-Identifier: GPL-2.0
2subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
3
4obj-y += kernel/
5obj-y += mm/
6obj-y += lib/
7obj-y += sysdev/
8obj-y += platforms/
9obj-y += math-emu/
10obj-y += crypto/
11obj-y += net/
12
13obj-$(CONFIG_XMON) += xmon/
14obj-$(CONFIG_KVM)  += kvm/
15
16obj-$(CONFIG_PERF_EVENTS) += perf/
17obj-$(CONFIG_KEXEC_CORE)  += kexec/
18obj-$(CONFIG_KEXEC_FILE)  += purgatory/
19