Makefile (f2e5d078f7f02d4289db31f5f63e23e39914075e) | Makefile (98ae22e15b430bfed5def01ac1a88ec9396284c8) |
---|---|
1# 2# Makefile for the linux kernel. 3# 4 5CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' 6 7subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror 8 9ifeq ($(CONFIG_PPC64),y) | 1# 2# Makefile for the linux kernel. 3# 4 5CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' 6 7subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror 8 9ifeq ($(CONFIG_PPC64),y) |
10CFLAGS_prom_init.o += -mno-minimal-toc | 10CFLAGS_prom_init.o += $(NO_MINIMAL_TOC) |
11endif 12ifeq ($(CONFIG_PPC32),y) 13CFLAGS_prom_init.o += -fPIC 14CFLAGS_btext.o += -fPIC 15endif 16 17ifdef CONFIG_FUNCTION_TRACER 18# Do not trace early boot code --- 51 unchanged lines hidden (view full) --- 70ifeq ($(CONFIG_FSL_BOOKE),y) 71obj-$(CONFIG_HIBERNATION) += swsusp_booke.o 72else 73obj-$(CONFIG_HIBERNATION) += swsusp_$(CONFIG_WORD_SIZE).o 74endif 75obj64-$(CONFIG_HIBERNATION) += swsusp_asm64.o 76obj-$(CONFIG_MODULES) += module.o module_$(CONFIG_WORD_SIZE).o 77obj-$(CONFIG_44x) += cpu_setup_44x.o | 11endif 12ifeq ($(CONFIG_PPC32),y) 13CFLAGS_prom_init.o += -fPIC 14CFLAGS_btext.o += -fPIC 15endif 16 17ifdef CONFIG_FUNCTION_TRACER 18# Do not trace early boot code --- 51 unchanged lines hidden (view full) --- 70ifeq ($(CONFIG_FSL_BOOKE),y) 71obj-$(CONFIG_HIBERNATION) += swsusp_booke.o 72else 73obj-$(CONFIG_HIBERNATION) += swsusp_$(CONFIG_WORD_SIZE).o 74endif 75obj64-$(CONFIG_HIBERNATION) += swsusp_asm64.o 76obj-$(CONFIG_MODULES) += module.o module_$(CONFIG_WORD_SIZE).o 77obj-$(CONFIG_44x) += cpu_setup_44x.o |
78obj-$(CONFIG_PPC_FSL_BOOK3E) += cpu_setup_fsl_booke.o dbell.o 79obj-$(CONFIG_PPC_BOOK3E_64) += dbell.o | 78obj-$(CONFIG_PPC_FSL_BOOK3E) += cpu_setup_fsl_booke.o 79obj-$(CONFIG_PPC_DOORBELL) += dbell.o |
80obj-$(CONFIG_JUMP_LABEL) += jump_label.o 81 82extra-y := head_$(CONFIG_WORD_SIZE).o 83extra-$(CONFIG_40x) := head_40x.o 84extra-$(CONFIG_44x) := head_44x.o 85extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o 86extra-$(CONFIG_8xx) := head_8xx.o 87extra-y += vmlinux.lds 88 89obj-$(CONFIG_RELOCATABLE_PPC32) += reloc_32.o 90 91obj-$(CONFIG_PPC32) += entry_32.o setup_32.o 92obj-$(CONFIG_PPC64) += dma-iommu.o iommu.o 93obj-$(CONFIG_KGDB) += kgdb.o | 80obj-$(CONFIG_JUMP_LABEL) += jump_label.o 81 82extra-y := head_$(CONFIG_WORD_SIZE).o 83extra-$(CONFIG_40x) := head_40x.o 84extra-$(CONFIG_44x) := head_44x.o 85extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o 86extra-$(CONFIG_8xx) := head_8xx.o 87extra-y += vmlinux.lds 88 89obj-$(CONFIG_RELOCATABLE_PPC32) += reloc_32.o 90 91obj-$(CONFIG_PPC32) += entry_32.o setup_32.o 92obj-$(CONFIG_PPC64) += dma-iommu.o iommu.o 93obj-$(CONFIG_KGDB) += kgdb.o |
94obj-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init.o | |
95obj-$(CONFIG_MODULES) += ppc_ksyms.o 96obj-$(CONFIG_BOOTX_TEXT) += btext.o 97obj-$(CONFIG_SMP) += smp.o 98obj-$(CONFIG_KPROBES) += kprobes.o 99obj-$(CONFIG_UPROBES) += uprobes.o 100obj-$(CONFIG_PPC_UDBG_16550) += legacy_serial.o udbg_16550.o 101obj-$(CONFIG_STACKTRACE) += stacktrace.o 102obj-$(CONFIG_SWIOTLB) += dma-swiotlb.o --- 14 unchanged lines hidden (view full) --- 117obj-$(CONFIG_FTRACE_SYSCALLS) += ftrace.o 118 119obj-$(CONFIG_8XX_MINIMAL_FPEMU) += softemu8xx.o 120 121ifneq ($(CONFIG_PPC_INDIRECT_IO),y) 122obj-y += iomap.o 123endif 124 | 94obj-$(CONFIG_MODULES) += ppc_ksyms.o 95obj-$(CONFIG_BOOTX_TEXT) += btext.o 96obj-$(CONFIG_SMP) += smp.o 97obj-$(CONFIG_KPROBES) += kprobes.o 98obj-$(CONFIG_UPROBES) += uprobes.o 99obj-$(CONFIG_PPC_UDBG_16550) += legacy_serial.o udbg_16550.o 100obj-$(CONFIG_STACKTRACE) += stacktrace.o 101obj-$(CONFIG_SWIOTLB) += dma-swiotlb.o --- 14 unchanged lines hidden (view full) --- 116obj-$(CONFIG_FTRACE_SYSCALLS) += ftrace.o 117 118obj-$(CONFIG_8XX_MINIMAL_FPEMU) += softemu8xx.o 119 120ifneq ($(CONFIG_PPC_INDIRECT_IO),y) 121obj-y += iomap.o 122endif 123 |
124obj64-$(CONFIG_PPC_TRANSACTIONAL_MEM) += tm.o 125 |
|
125obj-$(CONFIG_PPC64) += $(obj64-y) 126obj-$(CONFIG_PPC32) += $(obj32-y) 127 128ifneq ($(CONFIG_XMON)$(CONFIG_KEXEC),) 129obj-y += ppc_save_regs.o 130endif 131 132obj-$(CONFIG_EPAPR_PARAVIRT) += epapr_paravirt.o epapr_hcalls.o --- 4 unchanged lines hidden (view full) --- 137GCOV_PROFILE_ftrace.o := n 138GCOV_PROFILE_machine_kexec_64.o := n 139GCOV_PROFILE_machine_kexec_32.o := n 140GCOV_PROFILE_kprobes.o := n 141 142extra-$(CONFIG_PPC_FPU) += fpu.o 143extra-$(CONFIG_ALTIVEC) += vector.o 144extra-$(CONFIG_PPC64) += entry_64.o | 126obj-$(CONFIG_PPC64) += $(obj64-y) 127obj-$(CONFIG_PPC32) += $(obj32-y) 128 129ifneq ($(CONFIG_XMON)$(CONFIG_KEXEC),) 130obj-y += ppc_save_regs.o 131endif 132 133obj-$(CONFIG_EPAPR_PARAVIRT) += epapr_paravirt.o epapr_hcalls.o --- 4 unchanged lines hidden (view full) --- 138GCOV_PROFILE_ftrace.o := n 139GCOV_PROFILE_machine_kexec_64.o := n 140GCOV_PROFILE_machine_kexec_32.o := n 141GCOV_PROFILE_kprobes.o := n 142 143extra-$(CONFIG_PPC_FPU) += fpu.o 144extra-$(CONFIG_ALTIVEC) += vector.o 145extra-$(CONFIG_PPC64) += entry_64.o |
146extra-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init.o |
|
145 146extra-y += systbl_chk.i 147$(obj)/systbl.o: systbl_chk 148 149quiet_cmd_systbl_chk = CALL $< 150 cmd_systbl_chk = $(CONFIG_SHELL) $< $(obj)/systbl_chk.i 151 152PHONY += systbl_chk --- 15 unchanged lines hidden --- | 147 148extra-y += systbl_chk.i 149$(obj)/systbl.o: systbl_chk 150 151quiet_cmd_systbl_chk = CALL $< 152 cmd_systbl_chk = $(CONFIG_SHELL) $< $(obj)/systbl_chk.i 153 154PHONY += systbl_chk --- 15 unchanged lines hidden --- |