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