~ [ 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/ppc/kernel/Makefile (Version linux-2.4.37.11)


  1 # SPDX-License-Identifier: GPL-2.0             << 
  2 #                                                   1 #
  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 USE_STANDARD_AS_RULE    := true
  7 AFLAGS_head.o        := -DTEXT_OFFSET=$(TEXT_O << 
  8                                                    11 
  9 ifdef CONFIG_FUNCTION_TRACER                   !!  12 ifdef CONFIG_PPC64BRIDGE
 10 CFLAGS_REMOVE_ftrace.o = -pg                   !!  13 EXTRA_AFLAGS            := -Wa,-mppc64bridge
 11 CFLAGS_REMOVE_insn.o = -pg                     << 
 12 CFLAGS_REMOVE_patch.o = -pg                    << 
 13 CFLAGS_REMOVE_unwind.o = -pg                   << 
 14 endif                                              14 endif
 15                                                !!  15 ifdef CONFIG_4xx
 16 CFLAGS_REMOVE_return_address.o = -pg           !!  16 EXTRA_AFLAGS            := -Wa,-m405
 17                                                << 
 18 # Object file lists.                           << 
 19                                                << 
 20 obj-y           := elf.o entry-common.o irq.o  << 
 21                    process.o ptrace.o reboot.o << 
 22                    setup.o signal.o sigreturn_ << 
 23                    stacktrace.o sys_arm.o time << 
 24                                                << 
 25 KASAN_SANITIZE_stacktrace.o := n               << 
 26 KASAN_SANITIZE_traps.o := n                    << 
 27                                                << 
 28 ifneq ($(CONFIG_ARM_UNWIND),y)                 << 
 29 obj-$(CONFIG_FRAME_POINTER)     += return_addr << 
 30 endif                                              17 endif
 31                                                    18 
 32 obj-$(CONFIG_ATAGS)             += atags_parse !!  19 # Code in these files is used before the kernel is moved to its final position
 33 obj-$(CONFIG_ATAGS_PROC)        += atags_proc. !!  20 CFLAGS_prom_init.o      += -mrelocatable-lib
 34 obj-$(CONFIG_DEPRECATED_PARAM_STRUCT) += atags !!  21 CFLAGS_btext.o          += -mrelocatable-lib
 35                                                !!  22 
 36 ifeq ($(CONFIG_CPU_V7M),y)                     !!  23 # Start off with 'head.o', change as needed.
 37 obj-y           += entry-v7m.o v7m.o           !!  24 HEAD-y                          := head.o
 38 else                                           !!  25 HEAD-$(CONFIG_6xx)              += idle_6xx.o
 39 obj-y           += entry-armv.o                !!  26 HEAD-$(CONFIG_40x)              := head_4xx.o
                                                   >>  27 HEAD-$(CONFIG_44x)              := head_44x.o
                                                   >>  28 HEAD-$(CONFIG_8xx)              := head_8xx.o
                                                   >>  29 
                                                   >>  30 all: $(HEAD-y) kernel.o
                                                   >>  31 
                                                   >>  32 O_TARGET := kernel.o
                                                   >>  33 
                                                   >>  34 export-objs                     := ppc_ksyms.o time.o ocp.o ppc4xx_setup.o \
                                                   >>  35                                         ppc4xx_dma.o ppc4xx_sgdma.o \
                                                   >>  36                                         ppc4xx_stbdma.o
                                                   >>  37 
                                                   >>  38 obj-y                           := entry.o traps.o irq.o idle.o time.o misc.o \
                                                   >>  39                                         process.o signal.o ptrace.o align.o \
                                                   >>  40                                         semaphore.o syscalls.o setup.o \
                                                   >>  41                                         cputable.o ppc_htab.o
                                                   >>  42 ifneq ($(CONFIG_6xx),y)
                                                   >>  43 obj-y                           += idle_gen.o
 40 endif                                              44 endif
 41                                                !!  45 obj-$(CONFIG_6xx)               += l2cr.o cpu_setup_6xx.o
 42 obj-$(CONFIG_MMU)               += bugs.o      !!  46 obj-$(CONFIG_MODULES)           += ppc_ksyms.o
 43 obj-$(CONFIG_CPU_IDLE)          += cpuidle.o   !!  47 obj-$(CONFIG_PCI)               += pci.o
 44 obj-$(CONFIG_ISA_DMA_API)       += dma.o       !!  48 obj-$(CONFIG_PCI)               += pci-dma.o
 45 obj-$(CONFIG_FIQ)               += fiq.o fiqas !!  49 obj-$(CONFIG_KGDB)              += ppc-stub.o
 46 obj-$(CONFIG_MODULES)           += armksyms.o  !!  50 obj-$(CONFIG_PPCBUG_NVRAM)      += prep_nvram.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           51 obj-$(CONFIG_SMP)               += smp.o
 52 ifdef CONFIG_MMU                               !!  52 obj-$(CONFIG_TAU)               += temp.o
 53 obj-$(CONFIG_SMP)               += smp_tlb.o   !!  53 ifeq ($(CONFIG_SERIAL)$(CONFIG_GEN550),yy)
                                                   >>  54 obj-$(CONFIG_KGDB)              += gen550_kgdb.o gen550_dbg.o
                                                   >>  55 obj-$(CONFIG_SERIAL_TEXT_DEBUG) += gen550_dbg.o
 54 endif                                              56 endif
 55 obj-$(CONFIG_HAVE_ARM_SCU)      += smp_scu.o   !!  57 obj-$(CONFIG_PPC_OCP)           += ocp.o
 56 obj-$(CONFIG_HAVE_ARM_TWD)      += smp_twd.o   !!  58 obj-$(CONFIG_40x)               += ppc4xx_setup.o ppc4xx_pic.o
 57 obj-$(CONFIG_ARM_ARCH_TIMER)    += arch_timer. !!  59 obj-$(CONFIG_4xx)               += todc_time.o
 58 obj-$(CONFIG_FUNCTION_TRACER)   += entry-ftrac !!  60 obj-$(CONFIG_STBXXX_DMA)        += ppc4xx_stbdma.o
 59 obj-$(CONFIG_DYNAMIC_FTRACE)    += ftrace.o in !!  61 ifeq ($(CONFIG_PCI),y)
 60 obj-$(CONFIG_FUNCTION_GRAPH_TRACER)     += ftr !!  62 obj-$(CONFIG_40x)               += ppc405_pci.o
 61 obj-$(CONFIG_JUMP_LABEL)        += jump_label. !!  63 obj-$(CONFIG_4xx)               += indirect_pci.o pci_auto.o
 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                                              64 endif
101                                                !!  65 obj-$(CONFIG_44x)               += ppc4xx_pic.o ibm44x_common.o
102 obj-$(CONFIG_HAVE_ARM_SMCCC)    += smccc-call. !!  66 obj-$(CONFIG_440GP)             += ibm440gp_common.o
103                                                !!  67 obj-$(CONFIG_440GX)             += ibm440gx_common.o
104 obj-$(CONFIG_GENERIC_CPU_VULNERABILITIES) += s !!  68 obj-$(CONFIG_PPC4xx_DMA)        += ppc4xx_dma.o
105                                                !!  69 obj-$(CONFIG_PPC4xx_EDMA)       += ppc4xx_sgdma.o
106 extra-y := vmlinux.lds                         !!  70 obj-$(CONFIG_8xx)               += m8xx_setup.o ppc8xx_pic.o
                                                   >>  71 obj-$(CONFIG_8xx_WDT)           += m8xx_wdt.o
                                                   >>  72 ifeq ($(CONFIG_8xx),y)
                                                   >>  73 obj-$(CONFIG_PCI)               += qspan_pci.o
                                                   >>  74 ifndef CONFIG_MATH_EMULATION
                                                   >>  75 obj-y                           += softemu8xx.o
                                                   >>  76 endif
                                                   >>  77 endif
                                                   >>  78 obj-$(CONFIG_MBX)               += i8259.o
                                                   >>  79 obj-$(CONFIG_ALL_PPC)           += prom_init.o prom.o open_pic.o \
                                                   >>  80                                         indirect_pci.o i8259.o
                                                   >>  81 obj-$(CONFIG_GEMINI)            += open_pic.o
                                                   >>  82 obj-$(CONFIG_LOPEC)             += mpc10x_common.o indirect_pci.o pci_auto.o \
                                                   >>  83                                         open_pic.o i8259.o todc_time.o
                                                   >>  84 obj-$(CONFIG_PAL4)              += indirect_pci.o pci_auto.o todc_time.o
                                                   >>  85 obj-$(CONFIG_PPLUS)             += pplus_common.o open_pic.o i8259.o \
                                                   >>  86                                    indirect_pci.o todc_time.o pci_auto.o
                                                   >>  87 obj-$(CONFIG_PRPMC750)          += open_pic.o indirect_pci.o pci_auto.o \
                                                   >>  88                                         pplus_common.o
                                                   >>  89 obj-$(CONFIG_SANDPOINT)         += i8259.o open_pic.o mpc10x_common.o \
                                                   >>  90                                         pci_auto.o indirect_pci.o todc_time.o
                                                   >>  91 obj-$(CONFIG_SPRUCE)            += indirect_pci.o pci_auto.o todc_time.o
                                                   >>  92 obj-$(CONFIG_8260)              += m8260_setup.o cpm2_pic.o
                                                   >>  93 obj-$(CONFIG_BOOTX_TEXT)        += btext.o
                                                   >>  94 
                                                   >>  95 include $(TOPDIR)/Rules.make
                                                   >>  96 
                                                   >>  97 entry.o: entry.S ppc_defs.h
                                                   >>  98 misc.o: misc.S ppc_defs.h
                                                   >>  99 l2cr.o: l2cr.S ppc_defs.h
                                                   >> 100 head.o: head.S ppc_defs.h
                                                   >> 101 head_4xx.o: head_4xx.S ppc_defs.h
                                                   >> 102 head_44x.o: head_44x.S ppc_defs.h
                                                   >> 103 head_8xx.o: head_8xx.S ppc_defs.h
                                                   >> 104 idle_6xx.o: idle_6xx.S ppc_defs.h
                                                   >> 105 
                                                   >> 106 ppc_defs.h: mk_defs.c ppc_defs.head \
                                                   >> 107                 $(TOPDIR)/include/asm/mmu.h \
                                                   >> 108                 $(TOPDIR)/include/asm/processor.h \
                                                   >> 109                 $(TOPDIR)/include/asm/pgtable.h \
                                                   >> 110                 $(TOPDIR)/include/asm/ptrace.h
                                                   >> 111         $(CC) $(CFLAGS) -S mk_defs.c
                                                   >> 112         cp ppc_defs.head ppc_defs.h
                                                   >> 113 # for bk, this way we can write to the file even if it's not checked out
                                                   >> 114         chmod u+w ppc_defs.h
                                                   >> 115         grep '^#define' mk_defs.s >> ppc_defs.h
                                                   >> 116         rm mk_defs.s
                                                   >> 117 
                                                   >> 118 find_name : find_name.c
                                                   >> 119         $(HOSTCC) $(HOSTCFLAGS) -o find_name find_name.c
                                                   >> 120 
                                                   >> 121 checks: checks.c
                                                   >> 122         $(HOSTCC) -I$(HPATH) $(HOSTCFLAGS) -D__KERNEL__ -fno-builtin -o checks checks.c
                                                   >> 123         ./checks
                                                      

~ [ 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