Makefile (84abd88a70090cf00f9e45c3a81680874f17626e) | Makefile (f8e8a8e8cba3359df2a16c17d59eedb08adf3b43) |
---|---|
1# 2# Makefile for the linux kernel. 3# 4 5asflags-y := -ansi 6ccflags-y := -Werror 7 8extra-y := head_$(BITS).o 9extra-y += init_task.o 10 11# Undefine sparc when processing vmlinux.lds - it is used 12# And teach CPP we are doing $(BITS) builds (for this case) 13CPPFLAGS_vmlinux.lds := -Usparc -m$(BITS) 14extra-y += vmlinux.lds 15 | 1# 2# Makefile for the linux kernel. 3# 4 5asflags-y := -ansi 6ccflags-y := -Werror 7 8extra-y := head_$(BITS).o 9extra-y += init_task.o 10 11# Undefine sparc when processing vmlinux.lds - it is used 12# And teach CPP we are doing $(BITS) builds (for this case) 13CPPFLAGS_vmlinux.lds := -Usparc -m$(BITS) 14extra-y += vmlinux.lds 15 |
16ifdef CONFIG_FUNCTION_TRACER 17# Do not profile debug and lowlevel utilities 18CFLAGS_REMOVE_ftrace.o := -pg 19CFLAGS_REMOVE_time_$(BITS).o := -pg 20CFLAGS_REMOVE_perf_event.o := -pg 21CFLAGS_REMOVE_pcr.o := -pg 22endif 23 |
|
16obj-$(CONFIG_SPARC32) += entry.o wof.o wuf.o 17obj-$(CONFIG_SPARC32) += etrap_32.o 18obj-$(CONFIG_SPARC32) += rtrap_32.o 19obj-y += traps_$(BITS).o 20 21# IRQ 22obj-y += irq_$(BITS).o 23obj-$(CONFIG_SPARC32) += sun4m_irq.o sun4c_irq.o sun4d_irq.o --- 56 unchanged lines hidden (view full) --- 80 81obj-$(CONFIG_MODULES) += module.o 82obj-$(CONFIG_MODULES) += sparc_ksyms_$(BITS).o 83obj-$(CONFIG_SPARC_LED) += led.o 84obj-$(CONFIG_KGDB) += kgdb_$(BITS).o 85 86 87obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o | 24obj-$(CONFIG_SPARC32) += entry.o wof.o wuf.o 25obj-$(CONFIG_SPARC32) += etrap_32.o 26obj-$(CONFIG_SPARC32) += rtrap_32.o 27obj-y += traps_$(BITS).o 28 29# IRQ 30obj-y += irq_$(BITS).o 31obj-$(CONFIG_SPARC32) += sun4m_irq.o sun4c_irq.o sun4d_irq.o --- 56 unchanged lines hidden (view full) --- 88 89obj-$(CONFIG_MODULES) += module.o 90obj-$(CONFIG_MODULES) += sparc_ksyms_$(BITS).o 91obj-$(CONFIG_SPARC_LED) += led.o 92obj-$(CONFIG_KGDB) += kgdb_$(BITS).o 93 94 95obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o |
88CFLAGS_REMOVE_ftrace.o := -pg | |
89 90obj-$(CONFIG_EARLYFB) += btext.o 91obj-$(CONFIG_STACKTRACE) += stacktrace.o 92# sparc64 PCI 93obj-$(CONFIG_SPARC64_PCI) += pci.o pci_common.o psycho_common.o 94obj-$(CONFIG_SPARC64_PCI) += pci_psycho.o pci_sabre.o pci_schizo.o 95obj-$(CONFIG_SPARC64_PCI) += pci_sun4v.o pci_sun4v_asm.o pci_fire.o 96obj-$(CONFIG_PCI_MSI) += pci_msi.o --- 17 unchanged lines hidden --- | 96 97obj-$(CONFIG_EARLYFB) += btext.o 98obj-$(CONFIG_STACKTRACE) += stacktrace.o 99# sparc64 PCI 100obj-$(CONFIG_SPARC64_PCI) += pci.o pci_common.o psycho_common.o 101obj-$(CONFIG_SPARC64_PCI) += pci_psycho.o pci_sabre.o pci_schizo.o 102obj-$(CONFIG_SPARC64_PCI) += pci_sun4v.o pci_sun4v_asm.o pci_fire.o 103obj-$(CONFIG_PCI_MSI) += pci_msi.o --- 17 unchanged lines hidden --- |