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