Makefile (afc6386815a88d067d9f567dcc6266800286f626) | Makefile (27be2456332dcd69907f086cda327ad923b222cf) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the linux kernel. 4# 5 6ifdef CONFIG_PPC64 7CFLAGS_prom_init.o += $(NO_MINIMAL_TOC) 8endif --- 151 unchanged lines hidden (view full) --- 160obj-y += trace/ 161 162ifneq ($(CONFIG_PPC_INDIRECT_PIO),y) 163obj-y += iomap.o 164endif 165 166obj64-$(CONFIG_PPC_TRANSACTIONAL_MEM) += tm.o 167 | 1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the linux kernel. 4# 5 6ifdef CONFIG_PPC64 7CFLAGS_prom_init.o += $(NO_MINIMAL_TOC) 8endif --- 151 unchanged lines hidden (view full) --- 160obj-y += trace/ 161 162ifneq ($(CONFIG_PPC_INDIRECT_PIO),y) 163obj-y += iomap.o 164endif 165 166obj64-$(CONFIG_PPC_TRANSACTIONAL_MEM) += tm.o 167 |
168obj-$(CONFIG_PPC64) += $(obj64-y) 169obj-$(CONFIG_PPC32) += $(obj32-y) 170 | |
171ifneq ($(CONFIG_XMON)$(CONFIG_KEXEC_CORE)(CONFIG_PPC_BOOK3S),) 172obj-y += ppc_save_regs.o 173endif 174 175obj-$(CONFIG_EPAPR_PARAVIRT) += epapr_paravirt.o epapr_hcalls.o 176obj-$(CONFIG_KVM_GUEST) += kvm.o kvm_emul.o 177ifneq ($(CONFIG_PPC_POWERNV)$(CONFIG_PPC_SVM),) 178obj-y += ucall.o --- 25 unchanged lines hidden (view full) --- 204KCOV_INSTRUMENT_setup_64.o := n 205KCOV_INSTRUMENT_paca.o := n 206 207CFLAGS_setup_64.o += -fno-stack-protector 208CFLAGS_paca.o += -fno-stack-protector 209 210obj-$(CONFIG_PPC_FPU) += fpu.o 211obj-$(CONFIG_ALTIVEC) += vector.o | 168ifneq ($(CONFIG_XMON)$(CONFIG_KEXEC_CORE)(CONFIG_PPC_BOOK3S),) 169obj-y += ppc_save_regs.o 170endif 171 172obj-$(CONFIG_EPAPR_PARAVIRT) += epapr_paravirt.o epapr_hcalls.o 173obj-$(CONFIG_KVM_GUEST) += kvm.o kvm_emul.o 174ifneq ($(CONFIG_PPC_POWERNV)$(CONFIG_PPC_SVM),) 175obj-y += ucall.o --- 25 unchanged lines hidden (view full) --- 201KCOV_INSTRUMENT_setup_64.o := n 202KCOV_INSTRUMENT_paca.o := n 203 204CFLAGS_setup_64.o += -fno-stack-protector 205CFLAGS_paca.o += -fno-stack-protector 206 207obj-$(CONFIG_PPC_FPU) += fpu.o 208obj-$(CONFIG_ALTIVEC) += vector.o |
212obj-$(CONFIG_PPC64) += entry_64.o 213obj-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init.o | |
214 | 209 |
215extra-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init_check | 210obj-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init.o 211obj64-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_entry_64.o 212extra-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init_check |
216 | 213 |
214obj-$(CONFIG_PPC64) += $(obj64-y) 215obj-$(CONFIG_PPC32) += $(obj32-y) 216 |
|
217quiet_cmd_prom_init_check = PROMCHK $@ 218 cmd_prom_init_check = $(CONFIG_SHELL) $< "$(NM)" $(obj)/prom_init.o; touch $@ 219 220$(obj)/prom_init_check: $(src)/prom_init_check.sh $(obj)/prom_init.o FORCE 221 $(call if_changed,prom_init_check) 222targets += prom_init_check 223 224clean-files := vmlinux.lds 225 226# Force dependency (incbin is bad) 227$(obj)/vdso32_wrapper.o : $(obj)/vdso/vdso32.so.dbg 228$(obj)/vdso64_wrapper.o : $(obj)/vdso/vdso64.so.dbg 229 230# for cleaning 231subdir- += vdso | 217quiet_cmd_prom_init_check = PROMCHK $@ 218 cmd_prom_init_check = $(CONFIG_SHELL) $< "$(NM)" $(obj)/prom_init.o; touch $@ 219 220$(obj)/prom_init_check: $(src)/prom_init_check.sh $(obj)/prom_init.o FORCE 221 $(call if_changed,prom_init_check) 222targets += prom_init_check 223 224clean-files := vmlinux.lds 225 226# Force dependency (incbin is bad) 227$(obj)/vdso32_wrapper.o : $(obj)/vdso/vdso32.so.dbg 228$(obj)/vdso64_wrapper.o : $(obj)/vdso/vdso64.so.dbg 229 230# for cleaning 231subdir- += vdso |