Makefile (05909cd9a0c8811731b38697af13075e8954314f) | Makefile (a7223f5bfcaeade4a86d35263493bcda6c940891) |
---|---|
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 --- 31 unchanged lines hidden (view full) --- 40endif 41 42obj-y := cputable.o syscalls.o \ 43 irq.o align.o signal_$(BITS).o pmc.o vdso.o \ 44 process.o systbl.o idle.o \ 45 signal.o sysfs.o cacheinfo.o time.o \ 46 prom.o traps.o setup-common.o \ 47 udbg.o misc.o io.o misc_$(BITS).o \ | 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 --- 31 unchanged lines hidden (view full) --- 40endif 41 42obj-y := cputable.o syscalls.o \ 43 irq.o align.o signal_$(BITS).o pmc.o vdso.o \ 44 process.o systbl.o idle.o \ 45 signal.o sysfs.o cacheinfo.o time.o \ 46 prom.o traps.o setup-common.o \ 47 udbg.o misc.o io.o misc_$(BITS).o \ |
48 of_platform.o prom_parse.o firmware.o | 48 of_platform.o prom_parse.o firmware.o \ 49 hw_breakpoint_constraints.o |
49obj-y += ptrace/ 50obj-$(CONFIG_PPC64) += setup_64.o \ 51 paca.o nvram_64.o note.o syscall_64.o 52obj-$(CONFIG_COMPAT) += sys_ppc32.o signal_32.o 53obj-$(CONFIG_VDSO32) += vdso32/ 54obj-$(CONFIG_PPC_WATCHDOG) += watchdog.o 55obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o 56obj-$(CONFIG_PPC_DAWR) += dawr.o --- 32 unchanged lines hidden (view full) --- 89endif 90obj64-$(CONFIG_HIBERNATION) += swsusp_asm64.o 91obj-$(CONFIG_MODULES) += module.o module_$(BITS).o 92obj-$(CONFIG_44x) += cpu_setup_44x.o 93obj-$(CONFIG_PPC_FSL_BOOK3E) += cpu_setup_fsl_booke.o 94obj-$(CONFIG_PPC_DOORBELL) += dbell.o 95obj-$(CONFIG_JUMP_LABEL) += jump_label.o 96 | 50obj-y += ptrace/ 51obj-$(CONFIG_PPC64) += setup_64.o \ 52 paca.o nvram_64.o note.o syscall_64.o 53obj-$(CONFIG_COMPAT) += sys_ppc32.o signal_32.o 54obj-$(CONFIG_VDSO32) += vdso32/ 55obj-$(CONFIG_PPC_WATCHDOG) += watchdog.o 56obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o 57obj-$(CONFIG_PPC_DAWR) += dawr.o --- 32 unchanged lines hidden (view full) --- 90endif 91obj64-$(CONFIG_HIBERNATION) += swsusp_asm64.o 92obj-$(CONFIG_MODULES) += module.o module_$(BITS).o 93obj-$(CONFIG_44x) += cpu_setup_44x.o 94obj-$(CONFIG_PPC_FSL_BOOK3E) += cpu_setup_fsl_booke.o 95obj-$(CONFIG_PPC_DOORBELL) += dbell.o 96obj-$(CONFIG_JUMP_LABEL) += jump_label.o 97 |
97extra-y := head_$(BITS).o | 98extra-$(CONFIG_PPC64) := head_64.o 99extra-$(CONFIG_PPC_BOOK3S_32) := head_book3s_32.o |
98extra-$(CONFIG_40x) := head_40x.o 99extra-$(CONFIG_44x) := head_44x.o 100extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o 101extra-$(CONFIG_PPC_8xx) := head_8xx.o 102extra-y += vmlinux.lds 103 104obj-$(CONFIG_RELOCATABLE) += reloc_$(BITS).o 105 --- 60 unchanged lines hidden (view full) --- 166UBSAN_SANITIZE_syscall_64.o := n 167UBSAN_SANITIZE_vdso.o := n 168 169# Necessary for booting with kcov enabled on book3e machines 170KCOV_INSTRUMENT_cputable.o := n 171KCOV_INSTRUMENT_setup_64.o := n 172KCOV_INSTRUMENT_paca.o := n 173 | 100extra-$(CONFIG_40x) := head_40x.o 101extra-$(CONFIG_44x) := head_44x.o 102extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o 103extra-$(CONFIG_PPC_8xx) := head_8xx.o 104extra-y += vmlinux.lds 105 106obj-$(CONFIG_RELOCATABLE) += reloc_$(BITS).o 107 --- 60 unchanged lines hidden (view full) --- 168UBSAN_SANITIZE_syscall_64.o := n 169UBSAN_SANITIZE_vdso.o := n 170 171# Necessary for booting with kcov enabled on book3e machines 172KCOV_INSTRUMENT_cputable.o := n 173KCOV_INSTRUMENT_setup_64.o := n 174KCOV_INSTRUMENT_paca.o := n 175 |
176CFLAGS_setup_64.o += -fno-stack-protector 177CFLAGS_paca.o += -fno-stack-protector 178 |
|
174extra-$(CONFIG_PPC_FPU) += fpu.o 175extra-$(CONFIG_ALTIVEC) += vector.o 176extra-$(CONFIG_PPC64) += entry_64.o 177extra-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init.o 178 179extra-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init_check 180 181quiet_cmd_prom_init_check = PROMCHK $@ 182 cmd_prom_init_check = $(CONFIG_SHELL) $< "$(NM)" $(obj)/prom_init.o; touch $@ 183 184$(obj)/prom_init_check: $(src)/prom_init_check.sh $(obj)/prom_init.o FORCE 185 $(call if_changed,prom_init_check) 186targets += prom_init_check 187 188clean-files := vmlinux.lds | 179extra-$(CONFIG_PPC_FPU) += fpu.o 180extra-$(CONFIG_ALTIVEC) += vector.o 181extra-$(CONFIG_PPC64) += entry_64.o 182extra-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init.o 183 184extra-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init_check 185 186quiet_cmd_prom_init_check = PROMCHK $@ 187 cmd_prom_init_check = $(CONFIG_SHELL) $< "$(NM)" $(obj)/prom_init.o; touch $@ 188 189$(obj)/prom_init_check: $(src)/prom_init_check.sh $(obj)/prom_init.o FORCE 190 $(call if_changed,prom_init_check) 191targets += prom_init_check 192 193clean-files := vmlinux.lds |