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

TOMOYO Linux Cross Reference
Linux/arch/mips/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/mips/kernel/Makefile (Version linux-6.12-rc7) and /arch/alpha/kernel/Makefile (Version linux-2.4.37.11)


  1 # SPDX-License-Identifier: GPL-2.0             << 
  2 #                                                   1 #
  3 # Makefile for the Linux/MIPS 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 extra-y         := vmlinux.lds                 !!  10 .S.s:
                                                   >>  11         $(CPP) $(AFLAGS) -o $*.s $<
                                                   >>  12 .S.o:
                                                   >>  13         $(CC) $(AFLAGS) -c -o $*.o $<
  7                                                    14 
  8 obj-y           += head.o branch.o cmpxchg.o e !!  15 O_TARGET := kernel.o
  9                    process.o prom.o ptrace.o r << 
 10                    syscall.o time.o topology.o << 
 11                    vdso.o cacheinfo.o          << 
 12                                                    16 
 13 ifdef CONFIG_CPU_R3K_TLB                       !!  17 export-objs := alpha_ksyms.o
 14 obj-y           += cpu-r3k-probe.o             !!  18 
 15 else                                           !!  19 obj-y    := entry.o traps.o process.o osf_sys.o irq.o irq_alpha.o \
 16 obj-y           += cpu-probe.o                 !!  20             signal.o setup.o ptrace.o time.o semaphore.o alpha_ksyms.o \
 17 endif                                          !!  21             err_common.o
                                                   >>  22 
                                                   >>  23 #
                                                   >>  24 # FIXME!
                                                   >>  25 # These should be made conditional on the stuff that needs them!
                                                   >>  26 #
                                                   >>  27 obj-y    += irq_i8259.o irq_srm.o
 18                                                    28 
 19 ifdef CONFIG_FUNCTION_TRACER                   !!  29 ifdef CONFIG_VGA_HOSE
 20 CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)    !!  30 obj-y    += console.o
 21 CFLAGS_REMOVE_early_printk.o =  $(CC_FLAGS_FTR << 
 22 CFLAGS_REMOVE_perf_event.o = $(CC_FLAGS_FTRACE << 
 23 CFLAGS_REMOVE_perf_event_mipsxx.o = $(CC_FLAGS << 
 24 endif                                              31 endif
 25                                                    32 
 26 obj-$(CONFIG_CEVT_BCM1480)      += cevt-bcm148 !!  33 obj-$(CONFIG_SMP)    += smp.o irq_smp.o
 27 obj-$(CONFIG_CEVT_R4K)          += cevt-r4k.o  !!  34 obj-$(CONFIG_PCI)    += pci.o pci_iommu.o
 28 obj-$(CONFIG_CEVT_DS1287)       += cevt-ds1287 !!  35 obj-$(CONFIG_SRM_ENV)   += srm_env.o
 29 obj-$(CONFIG_CEVT_GT641XX)      += cevt-gt641x !!  36 
 30 obj-$(CONFIG_CEVT_SB1250)       += cevt-sb1250 !!  37 ifdef CONFIG_ALPHA_GENERIC
 31 obj-$(CONFIG_CEVT_TXX9)         += cevt-txx9.o !!  38 
 32 obj-$(CONFIG_CSRC_BCM1480)      += csrc-bcm148 !!  39 obj-y    += core_apecs.o core_cia.o core_irongate.o core_lca.o core_mcpcia.o \
 33 obj-$(CONFIG_CSRC_IOASIC)       += csrc-ioasic !!  40             core_polaris.o core_t2.o core_tsunami.o \
 34 obj-$(CONFIG_CSRC_R4K)          += csrc-r4k.o  !!  41             sys_alcor.o sys_cabriolet.o sys_dp264.o sys_eb64p.o sys_eiger.o \
 35 obj-$(CONFIG_CSRC_SB1250)       += csrc-sb1250 !!  42             sys_jensen.o sys_miata.o sys_mikasa.o sys_nautilus.o \
 36 obj-$(CONFIG_SYNC_R4K)          += sync-r4k.o  !!  43             sys_noritake.o sys_rawhide.o sys_ruffian.o sys_rx164.o \
                                                   >>  44             sys_sable.o sys_sio.o sys_sx164.o sys_takara.o sys_rx164.o \
                                                   >>  45             irq_pyxis.o srmcons.o gct.o \
                                                   >>  46             es1888.o smc37c669.o smc37c93x.o ns87312.o
                                                   >>  47 
                                                   >>  48 ifndef CONFIG_ALPHA_LEGACY_START_ADDRESS
                                                   >>  49 obj-y    += core_titan.o core_wildfire.o core_marvel.o \
                                                   >>  50             sys_titan.o sys_wildfire.o sys_marvel.o \
                                                   >>  51             err_titan.o err_marvel.o
 37                                                    52 
 38 obj-$(CONFIG_DEBUG_FS)          += segment.o   !!  53 endif
 39 obj-$(CONFIG_STACKTRACE)        += stacktrace. << 
 40 obj-$(CONFIG_MODULES)           += module.o    << 
 41                                                    54 
 42 obj-$(CONFIG_FTRACE_SYSCALLS)   += ftrace.o    !!  55 else
 43 obj-$(CONFIG_FUNCTION_TRACER)   += mcount.o ft << 
 44                                                    56 
 45 sw-y                            := r4k_switch. !!  57 # Misc support
 46 sw-$(CONFIG_CPU_R3000)          := r2300_switc !!  58 obj-$(CONFIG_ALPHA_SRM) += srmcons.o gct.o
 47 sw-$(CONFIG_CPU_CAVIUM_OCTEON)  := octeon_swit << 
 48 obj-y                           += $(sw-y)     << 
 49                                                    59 
 50 obj-$(CONFIG_MIPS_FP_SUPPORT)   += fpu-probe.o !!  60 # Core logic support
 51 obj-$(CONFIG_CPU_R2300_FPU)     += r2300_fpu.o !!  61 obj-$(CONFIG_ALPHA_APECS) += core_apecs.o
 52 obj-$(CONFIG_CPU_R4K_FPU)       += r4k_fpu.o   !!  62 obj-$(CONFIG_ALPHA_CIA) += core_cia.o
                                                   >>  63 
                                                   >>  64 obj-$(CONFIG_ALPHA_IRONGATE) += core_irongate.o
                                                   >>  65 obj-$(CONFIG_ALPHA_LCA) += core_lca.o
                                                   >>  66 obj-$(CONFIG_ALPHA_MARVEL) += core_marvel.o
                                                   >>  67 obj-$(CONFIG_ALPHA_MCPCIA) += core_mcpcia.o
                                                   >>  68 obj-$(CONFIG_ALPHA_T2) += core_t2.o
                                                   >>  69 obj-$(CONFIG_ALPHA_TSUNAMI) += core_tsunami.o
                                                   >>  70 obj-$(CONFIG_ALPHA_TITAN) += core_titan.o
                                                   >>  71 obj-$(CONFIG_ALPHA_POLARIS) += core_polaris.o
                                                   >>  72 obj-$(CONFIG_ALPHA_WILDFIRE) += core_wildfire.o
                                                   >>  73 
                                                   >>  74 # Board support
                                                   >>  75 ifneq ($(CONFIG_ALPHA_ALCOR)$(CONFIG_ALPHA_XLT),)
                                                   >>  76 obj-y    += sys_alcor.o
                                                   >>  77 endif
                                                   >>  78 ifneq ($(CONFIG_ALPHA_CABRIOLET)$(CONFIG_ALPHA_EB164)$(CONFIG_ALPHA_EB66P)$(CONFIG_ALPHA_LX164)$(CONFIG_ALPHA_PC164),)
                                                   >>  79 obj-y    += sys_cabriolet.o ns87312.o
                                                   >>  80 endif
 53                                                    81 
 54 obj-$(CONFIG_SMP)               += smp.o       !!  82 obj-$(CONFIG_ALPHA_DP264) += sys_dp264.o
 55 obj-$(CONFIG_SMP_UP)            += smp-up.o    !!  83 obj-$(CONFIG_ALPHA_SHARK) += sys_dp264.o
 56 obj-$(CONFIG_CPU_BMIPS)         += smp-bmips.o !!  84 obj-$(CONFIG_ALPHA_TITAN) += sys_titan.o err_titan.o
 57                                                    85 
 58 obj-$(CONFIG_MIPS_MT)           += mips-mt.o   !!  86 ifneq ($(CONFIG_ALPHA_EB64P)$(CONFIG_ALPHA_EB66),)
 59 obj-$(CONFIG_MIPS_MT_FPAFF)     += mips-mt-fpa !!  87 obj-y    += sys_eb64p.o
 60 obj-$(CONFIG_MIPS_MT_SMP)       += smp-mt.o    !!  88 endif
 61 obj-$(CONFIG_MIPS_CPS)          += smp-cps.o c << 
 62 obj-$(CONFIG_MIPS_CPS_NS16550)  += cps-vec-ns1 << 
 63 obj-$(CONFIG_MIPS_SPRAM)        += spram.o     << 
 64                                                    89 
 65 obj-$(CONFIG_MIPS_VPE_LOADER)   += vpe.o       !!  90 obj-$(CONFIG_ALPHA_EIGER) += sys_eiger.o
 66 obj-$(CONFIG_MIPS_VPE_LOADER_MT) += vpe-mt.o   !!  91 obj-$(CONFIG_ALPHA_JENSEN) += sys_jensen.o pci-noop.o
 67 obj-$(CONFIG_MIPS_VPE_APSP_API) += rtlx.o      !!  92 obj-$(CONFIG_ALPHA_MARVEL) += sys_marvel.o err_marvel.o
 68 obj-$(CONFIG_MIPS_VPE_APSP_API_MT) += rtlx-mt. !!  93 obj-$(CONFIG_ALPHA_MIATA) += sys_miata.o
                                                   >>  94 obj-$(CONFIG_ALPHA_MIKASA) += sys_mikasa.o
                                                   >>  95 obj-$(CONFIG_ALPHA_NAUTILUS) += sys_nautilus.o
                                                   >>  96 obj-$(CONFIG_ALPHA_NORITAKE) += sys_noritake.o
                                                   >>  97 obj-$(CONFIG_ALPHA_RAWHIDE) += sys_rawhide.o
                                                   >>  98 obj-$(CONFIG_ALPHA_RUFFIAN) += sys_ruffian.o
                                                   >>  99 obj-$(CONFIG_ALPHA_RX164) += sys_rx164.o
 69                                                   100 
 70 obj-$(CONFIG_MIPS_MSC)          += irq-msc01.o !! 101 ifneq ($(CONFIG_ALPHA_SABLE)$(CONFIG_ALPHA_LYNX),)
 71 obj-$(CONFIG_IRQ_TXX9)          += irq_txx9.o  !! 102 obj-y    += sys_sable.o
 72 obj-$(CONFIG_IRQ_GT641XX)       += irq-gt641xx !! 103 endif
 73                                                   104 
 74 obj-$(CONFIG_KPROBES)           += kprobes.o   !! 105 ifneq ($(CONFIG_ALPHA_BOOK1)$(CONFIG_ALPHA_AVANTI)$(CONFIG_ALPHA_NONAME)$(CONFIG_ALPHA_P2K)$(CONFIG_ALPHA_XL),)
 75 obj-$(CONFIG_32BIT)             += scall32-o32 !! 106 obj-y    += sys_sio.o
 76 obj-$(CONFIG_64BIT)             += scall64-n64 !! 107 endif
 77 obj-$(CONFIG_MIPS32_COMPAT)     += linux32.o p << 
 78 obj-$(CONFIG_MIPS32_N32)        += scall64-n32 << 
 79 obj-$(CONFIG_MIPS32_O32)        += scall64-o32 << 
 80                                                   108 
 81 obj-$(CONFIG_KGDB)              += kgdb.o      !! 109 obj-$(CONFIG_ALPHA_SX164) += sys_sx164.o
 82 obj-$(CONFIG_PROC_FS)           += proc.o      !! 110 obj-$(CONFIG_ALPHA_TAKARA) += sys_takara.o
 83 obj-$(CONFIG_MAGIC_SYSRQ)       += sysrq.o     !! 111 obj-$(CONFIG_ALPHA_WILDFIRE) += sys_wildfire.o
 84                                                   112 
 85 obj-$(CONFIG_CPU_R4X00_BUGS64)  += r4k-bugs64. !! 113 ifneq ($(CONFIG_ALPHA_MIATA)$(CONFIG_ALPHA_RUFFIAN)$(CONFIG_ALPHA_SX164),)
                                                   >> 114 obj-y    += irq_pyxis.o
                                                   >> 115 endif
 86                                                   116 
 87 obj-$(CONFIG_I8253)             += i8253.o     !! 117 ifneq ($(CONFIG_ALPHA_MIATA)$(CONFIG_ALPHA_DP264),)
                                                   >> 118 obj-y    += es1888.o
                                                   >> 119 endif
 88                                                   120 
 89 obj-$(CONFIG_GPIO_TXX9)         += gpio_txx9.o !! 121 ifneq ($(CONFIG_ALPHA_DP264)$(CONFIG_ALPHA_MIATA)$(CONFIG_ALPHA_SX164)$(CONFIG_ALPHA_TITAN),)
                                                   >> 122 obj-y    += smc37c669.o
                                                   >> 123 endif
 90                                                   124 
 91 obj-$(CONFIG_RELOCATABLE)       += relocate.o  !! 125 ifneq ($(CONFIG_ALPHA_PC164)$(CONFIG_ALPHA_LX164),)
                                                   >> 126 obj-y    += smc37c93x.o
                                                   >> 127 endif
 92                                                   128 
 93 obj-$(CONFIG_KEXEC_CORE)        += machine_kex !! 129 ifneq ($(CONFIG_ALPHA_NONAME)$(CONFIG_ALPHA_EB164)$(CONFIG_ALPHA_AVANTI)$(CONFIG_ALPHA_P2K)$(CONFIG_ALPHA_XL)$(CONFIG_ALPHA_TAKARA),)
 94 obj-$(CONFIG_CRASH_DUMP)        += crash_dump. !! 130 obj-y    += ns87312.o
 95 obj-$(CONFIG_EARLY_PRINTK)      += early_print !! 131 endif
 96 obj-$(CONFIG_EARLY_PRINTK_8250) += early_print << 
 97 obj-$(CONFIG_SPINLOCK_TEST)     += spinlock_te << 
 98 obj-$(CONFIG_MIPSR2_TO_R6_EMULATOR)     += mip << 
 99                                                   132 
100 CFLAGS_cpu-bugs64.o     = $(shell if $(CC) $(K !! 133 endif # GENERIC
101                                                   134 
102 obj-$(CONFIG_PERF_EVENTS)       += perf_event. !! 135 all: kernel.o head.o
103 obj-$(CONFIG_HW_PERF_EVENTS)    += perf_event_ << 
104                                                   136 
105 obj-$(CONFIG_JUMP_LABEL)        += jump_label. !! 137 asm_offsets: check_asm
106 obj-$(CONFIG_UPROBES)           += uprobes.o   !! 138         ./check_asm > $(TOPDIR)/include/asm-alpha/asm_offsets.h
107                                                   139 
108 obj-$(CONFIG_MIPS_CM)           += mips-cm.o   !! 140 check_asm: check_asm.c
109 obj-$(CONFIG_MIPS_CPC)          += mips-cpc.o  !! 141         $(HOSTCC) -o $@ $< $(CPPFLAGS) -ffixed-8
110                                                   142 
111 obj-$(CONFIG_CPU_PM)            += pm.o        !! 143 clean::
112 obj-$(CONFIG_MIPS_CPS_PM)       += pm-cps.o    !! 144         rm -f check_asm
113                                                   145 
114 CPPFLAGS_vmlinux.lds            := $(KBUILD_CF !! 146 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