~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/kernel/Makefile

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/arm/kernel/Makefile (Version linux-6.12-rc7) and /arch/sparc/kernel/Makefile (Version linux-2.4.37.11)


  1 # SPDX-License-Identifier: GPL-2.0             !!   1 # $Id: Makefile,v 1.62 2000/12/15 00:41:17 davem Exp $
  2 #                                              << 
  3 # Makefile for the linux kernel.                    2 # Makefile for the linux kernel.
  4 #                                                   3 #
                                                   >>   4 # Note! Dependencies are done automagically by 'make dep', which also
                                                   >>   5 # removes any old dependencies. DON'T put your own dependencies here
                                                   >>   6 # unless it's something special (ie not a .c file).
                                                   >>   7 #
                                                   >>   8 # Note 2! The CFLAGS definitions are now in the main makefile...
  5                                                     9 
  6 CPPFLAGS_vmlinux.lds := -DTEXT_OFFSET=$(TEXT_O !!  10 SH = $(CONFIG_SHELL)
  7 AFLAGS_head.o        := -DTEXT_OFFSET=$(TEXT_O << 
  8                                                    11 
  9 ifdef CONFIG_FUNCTION_TRACER                   !!  12 .S.s:
 10 CFLAGS_REMOVE_ftrace.o = -pg                   !!  13         $(CPP) $(AFLAGS) -ansi $< -o $*.s
 11 CFLAGS_REMOVE_insn.o = -pg                     << 
 12 CFLAGS_REMOVE_patch.o = -pg                    << 
 13 CFLAGS_REMOVE_unwind.o = -pg                   << 
 14 endif                                          << 
 15                                                    14 
 16 CFLAGS_REMOVE_return_address.o = -pg           !!  15 .S.o:
                                                   >>  16         $(CC) $(AFLAGS) -ansi -c $< -o $*.o
 17                                                    17 
 18 # Object file lists.                           !!  18 all: kernel.o head.o init_task.o
 19                                                    19 
 20 obj-y           := elf.o entry-common.o irq.o  !!  20 O_TARGET := kernel.o
 21                    process.o ptrace.o reboot.o << 
 22                    setup.o signal.o sigreturn_ << 
 23                    stacktrace.o sys_arm.o time << 
 24                                                    21 
 25 KASAN_SANITIZE_stacktrace.o := n               !!  22 export-objs := sparc_ksyms.o
 26 KASAN_SANITIZE_traps.o := n                    !!  23 IRQ_OBJS := irq.o sun4m_irq.o sun4c_irq.o sun4d_irq.o
                                                   >>  24 obj-y    := entry.o wof.o wuf.o etrap.o rtrap.o traps.o ${IRQ_OBJS} \
                                                   >>  25             process.o signal.o ioport.o setup.o idprom.o \
                                                   >>  26             sys_sparc.o sunos_asm.o sparc-stub.o systbls.o \
                                                   >>  27             time.o windows.o cpu.o devices.o sclow.o \
                                                   >>  28             tadpole.o tick14.o ptrace.o sys_solaris.o \
                                                   >>  29             unaligned.o muldiv.o pcic.o semaphore.o sparc_ksyms.o
 27                                                    30 
 28 ifneq ($(CONFIG_ARM_UNWIND),y)                 !!  31 obj-$(CONFIG_SUN4) += sun4setup.o
 29 obj-$(CONFIG_FRAME_POINTER)     += return_addr !!  32 obj-$(CONFIG_SMP) += trampoline.o smp.o sun4m_smp.o sun4d_smp.o
 30 endif                                          !!  33 obj-$(CONFIG_SUN_AUXIO) += auxio.o
                                                   >>  34 obj-$(CONFIG_PCI) += ebus.o
                                                   >>  35 obj-$(CONFIG_SUN_PM) += apc.o pmc.o
 31                                                    36 
 32 obj-$(CONFIG_ATAGS)             += atags_parse !!  37 ifdef CONFIG_SUNOS_EMUL
 33 obj-$(CONFIG_ATAGS_PROC)        += atags_proc. !!  38 obj-y += sys_sunos.o sunos_ioctl.o
 34 obj-$(CONFIG_DEPRECATED_PARAM_STRUCT) += atags << 
 35                                                << 
 36 ifeq ($(CONFIG_CPU_V7M),y)                     << 
 37 obj-y           += entry-v7m.o v7m.o           << 
 38 else                                           << 
 39 obj-y           += entry-armv.o                << 
 40 endif                                              39 endif
 41                                                    40 
 42 obj-$(CONFIG_MMU)               += bugs.o      !!  41 head.o: head.S
 43 obj-$(CONFIG_CPU_IDLE)          += cpuidle.o   !!  42         $(CC) $(AFLAGS) -ansi -c $*.S -o $*.o
 44 obj-$(CONFIG_ISA_DMA_API)       += dma.o       << 
 45 obj-$(CONFIG_FIQ)               += fiq.o fiqas << 
 46 obj-$(CONFIG_MODULES)           += armksyms.o  << 
 47 obj-$(CONFIG_ARM_MODULE_PLTS)   += module-plts << 
 48 obj-$(CONFIG_PCI)               += bios32.o is << 
 49 obj-$(CONFIG_ARM_CPU_SUSPEND)   += sleep.o sus << 
 50 obj-$(CONFIG_HIBERNATION)       += hibernate.o << 
 51 obj-$(CONFIG_SMP)               += smp.o       << 
 52 ifdef CONFIG_MMU                               << 
 53 obj-$(CONFIG_SMP)               += smp_tlb.o   << 
 54 endif                                          << 
 55 obj-$(CONFIG_HAVE_ARM_SCU)      += smp_scu.o   << 
 56 obj-$(CONFIG_HAVE_ARM_TWD)      += smp_twd.o   << 
 57 obj-$(CONFIG_ARM_ARCH_TIMER)    += arch_timer. << 
 58 obj-$(CONFIG_FUNCTION_TRACER)   += entry-ftrac << 
 59 obj-$(CONFIG_DYNAMIC_FTRACE)    += ftrace.o in << 
 60 obj-$(CONFIG_FUNCTION_GRAPH_TRACER)     += ftr << 
 61 obj-$(CONFIG_JUMP_LABEL)        += jump_label. << 
 62 obj-$(CONFIG_KEXEC_CORE)        += machine_kex << 
 63 obj-$(CONFIG_VMCORE_INFO)       += vmcore_info << 
 64 # Main staffs in KPROBES are in arch/arm/probe << 
 65 obj-$(CONFIG_KPROBES)           += patch.o ins << 
 66 obj-$(CONFIG_OABI_COMPAT)       += sys_oabi-co << 
 67 obj-$(CONFIG_ARM_THUMBEE)       += thumbee.o   << 
 68 obj-$(CONFIG_KGDB)              += kgdb.o patc << 
 69 obj-$(CONFIG_ARM_UNWIND)        += unwind.o    << 
 70 obj-$(CONFIG_HAVE_TCM)          += tcm.o       << 
 71 obj-$(CONFIG_OF)                += devtree.o   << 
 72 obj-$(CONFIG_CRASH_DUMP)        += crash_dump. << 
 73 obj-$(CONFIG_SWP_EMULATE)       += swp_emulate << 
 74 obj-$(CONFIG_HAVE_HW_BREAKPOINT)        += hw_ << 
 75                                                << 
 76 obj-$(CONFIG_CPU_XSCALE)        += xscale-cp0. << 
 77 obj-$(CONFIG_CPU_XSC3)          += xscale-cp0. << 
 78 obj-$(CONFIG_CPU_MOHAWK)        += xscale-cp0. << 
 79 obj-$(CONFIG_IWMMXT)            += iwmmxt.o    << 
 80 obj-$(CONFIG_PERF_EVENTS)       += perf_regs.o << 
 81 AFLAGS_iwmmxt.o                 := -Wa,-mcpu=i << 
 82 obj-$(CONFIG_ARM_CPU_TOPOLOGY)  += topology.o  << 
 83 obj-$(CONFIG_VDSO)              += vdso.o      << 
 84 obj-$(CONFIG_EFI)               += efi.o       << 
 85 obj-$(CONFIG_PARAVIRT)  += paravirt.o          << 
 86                                                << 
 87 obj-y                   += head$(MMUEXT).o     << 
 88 obj-$(CONFIG_DEBUG_LL)  += debug.o             << 
 89 obj-$(CONFIG_EARLY_PRINTK)      += early_print << 
 90 obj-$(CONFIG_ARM_PATCH_PHYS_VIRT)       += phy << 
 91                                                << 
 92 # This is executed very early using a temporar << 
 93 # nor global data is available. Everything has << 
 94 CFLAGS_head-inflate-data.o := $(call cc-option << 
 95 obj-$(CONFIG_XIP_DEFLATED_DATA) += head-inflat << 
 96                                                << 
 97 obj-$(CONFIG_ARM_VIRT_EXT)      += hyp-stub.o  << 
 98 ifeq ($(CONFIG_ARM_PSCI),y)                    << 
 99 obj-$(CONFIG_SMP)               += psci_smp.o  << 
100 endif                                          << 
101                                                    43 
102 obj-$(CONFIG_HAVE_ARM_SMCCC)    += smccc-call. !!  44 check_asm: dummy
                                                   >>  45         @if [ ! -r $(HPATH)/asm/asm_offsets.h ] ; then \
                                                   >>  46           touch $(HPATH)/asm/asm_offsets.h ; \
                                                   >>  47         fi
                                                   >>  48         @echo "/* Automatically generated. Do not edit. */" > asm_offsets.h
                                                   >>  49         @echo "#ifndef __ASM_OFFSETS_H__" >> asm_offsets.h
                                                   >>  50         @echo "#define __ASM_OFFSETS_H__" >> asm_offsets.h
                                                   >>  51         @echo "" >> asm_offsets.h
                                                   >>  52         @echo "#include <linux/config.h>" >> asm_offsets.h
                                                   >>  53         @echo "" >> asm_offsets.h
                                                   >>  54         @echo "#include <linux/config.h>" > tmp.c
                                                   >>  55         @echo "#include <linux/sched.h>" >> tmp.c
                                                   >>  56         $(CPP) $(CPPFLAGS) tmp.c -o tmp.i
                                                   >>  57         @echo "/* Automatically generated. Do not edit. */" > check_asm_data.c
                                                   >>  58         @echo "#include <linux/config.h>" >> check_asm_data.c
                                                   >>  59         @echo "#include <linux/sched.h>" >> check_asm_data.c
                                                   >>  60         @echo "unsigned int check_asm_data[] = {" >> check_asm_data.c
                                                   >>  61         $(SH) ./check_asm.sh -data task tmp.i check_asm_data.c
                                                   >>  62         $(SH) ./check_asm.sh -data mm tmp.i check_asm_data.c
                                                   >>  63         $(SH) ./check_asm.sh -data thread tmp.i check_asm_data.c
                                                   >>  64         @echo '};' >> check_asm_data.c
                                                   >>  65         $(CC) $(CFLAGS) -S -o check_asm_data.s check_asm_data.c
                                                   >>  66         @echo "/* Automatically generated. Do not edit. */" > check_asm.c
                                                   >>  67         @echo 'extern int printf(const char *fmt, ...);' >>check_asm.c
                                                   >>  68         @echo "unsigned int check_asm_data[] = {" >> check_asm.c
                                                   >>  69         $(SH) ./check_asm.sh -ints check_asm_data.s check_asm.c
                                                   >>  70         @echo "};" >> check_asm.c
                                                   >>  71         @echo 'int main(void) {' >> check_asm.c
                                                   >>  72         @echo 'int i = 0;' >> check_asm.c
                                                   >>  73         $(SH) ./check_asm.sh -printf task tmp.i check_asm.c
                                                   >>  74         $(SH) ./check_asm.sh -printf mm tmp.i check_asm.c
                                                   >>  75         $(SH) ./check_asm.sh -printf thread tmp.i check_asm.c
                                                   >>  76         @echo 'return 0; }' >> check_asm.c
                                                   >>  77         @rm -f tmp.[ci] check_asm_data.[cs]
                                                   >>  78         $(HOSTCC) -o check_asm check_asm.c
                                                   >>  79         ./check_asm >> asm_offsets.h
                                                   >>  80         @rm -f check_asm check_asm.c
                                                   >>  81         @echo "" >> asm_offsets.h
                                                   >>  82         @echo "#endif /* __ASM_OFFSETS_H__ */" >> asm_offsets.h
                                                   >>  83         @if test -r $(HPATH)/asm/asm_offsets.h; then \
                                                   >>  84           if cmp -s asm_offsets.h $(HPATH)/asm/asm_offsets.h; then \
                                                   >>  85             echo $(HPATH)/asm/asm_offsets.h is unchanged; \
                                                   >>  86             rm -f asm_offsets.h; \
                                                   >>  87           else \
                                                   >>  88             mv -f asm_offsets.h $(HPATH)/asm/asm_offsets.h; \
                                                   >>  89           fi; \
                                                   >>  90         else \
                                                   >>  91           mv -f asm_offsets.h $(HPATH)/asm/asm_offsets.h; \
                                                   >>  92         fi
103                                                    93 
104 obj-$(CONFIG_GENERIC_CPU_VULNERABILITIES) += s << 
105                                                    94 
106 extra-y := vmlinux.lds                         !!  95 include $(TOPDIR)/Rules.make
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php