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