xref: /openbmc/linux/arch/powerpc/Kbuild (revision e15a5365)
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