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

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


  1 # SPDX-License-Identifier: GPL-2.0             << 
  2 #                                                   1 #
  3 # Makefile for the linux kernel.                    2 # Makefile for the linux kernel.
  4 #                                                   3 #
  5                                                     4 
  6 extra-y         := vmlinux.lds                 !!   5 extra-y := head.o init_task.o vmlinux.lds.s
  7 asflags-y       := $(KBUILD_CFLAGS)            << 
  8 ccflags-y       := -Wno-sign-compare           << 
  9                                                << 
 10 obj-y    := head.o entry.o traps.o process.o o << 
 11             irq_alpha.o signal.o setup.o ptrac << 
 12             systbls.o err_common.o io.o bugs.o << 
 13                                                << 
 14 obj-$(CONFIG_VGA_HOSE)  += console.o           << 
 15 obj-$(CONFIG_SMP)       += smp.o               << 
 16 obj-$(CONFIG_PCI)       += pci.o pci_iommu.o p << 
 17 obj-$(CONFIG_SRM_ENV)   += srm_env.o           << 
 18 obj-$(CONFIG_MODULES)   += module.o            << 
 19 obj-$(CONFIG_PERF_EVENTS) += perf_event.o      << 
 20 obj-$(CONFIG_RTC_DRV_ALPHA) += rtc.o           << 
 21 obj-$(CONFIG_AUDIT)     += audit.o             << 
 22                                                << 
 23 ifdef CONFIG_ALPHA_GENERIC                     << 
 24                                                << 
 25 obj-y    += core_cia.o core_irongate.o \       << 
 26             core_mcpcia.o core_polaris.o core_ << 
 27             core_tsunami.o                     << 
 28                                                << 
 29 obj-y    += sys_alcor.o sys_cabriolet.o sys_dp << 
 30             sys_miata.o sys_mikasa.o sys_nauti << 
 31             sys_noritake.o sys_rawhide.o sys_r << 
 32             sys_sable.o sys_sx164.o sys_takara << 
 33                                                << 
 34 ifndef CONFIG_ALPHA_LEGACY_START_ADDRESS       << 
 35 obj-y    += core_marvel.o core_titan.o core_wi << 
 36 obj-y    += sys_marvel.o sys_titan.o sys_wildf << 
 37 obj-y    += err_ev7.o err_titan.o err_marvel.o << 
 38 endif                                          << 
 39                                                << 
 40 obj-y    += irq_pyxis.o irq_i8259.o irq_srm.o  << 
 41 obj-y    += err_ev6.o                          << 
 42 obj-y    += es1888.o smc37c669.o smc37c93x.o p << 
 43 obj-y    += srmcons.o                          << 
 44                                                << 
 45 else                                           << 
 46                                                << 
 47 # Misc support                                 << 
 48 obj-$(CONFIG_ALPHA_SRM)         += srmcons.o   << 
 49                                                << 
 50 # Core logic support                           << 
 51 obj-$(CONFIG_ALPHA_CIA)         += core_cia.o  << 
 52 obj-$(CONFIG_ALPHA_IRONGATE)    += core_ironga << 
 53 obj-$(CONFIG_ALPHA_MARVEL)      += core_marvel << 
 54 obj-$(CONFIG_ALPHA_MCPCIA)      += core_mcpcia << 
 55 obj-$(CONFIG_ALPHA_POLARIS)     += core_polari << 
 56 obj-$(CONFIG_ALPHA_T2)          += core_t2.o   << 
 57 obj-$(CONFIG_ALPHA_TSUNAMI)     += core_tsunam << 
 58 obj-$(CONFIG_ALPHA_TITAN)       += core_titan. << 
 59 obj-$(CONFIG_ALPHA_WILDFIRE)    += core_wildfi << 
 60                                                << 
 61 # Board support                                << 
 62 obj-$(CONFIG_ALPHA_ALCOR)       += sys_alcor.o << 
 63 obj-$(CONFIG_ALPHA_LX164)       += sys_cabriol << 
 64                                    smc37c93x.o << 
 65 obj-$(CONFIG_ALPHA_PC164)       += sys_cabriol << 
 66                                    smc37c93x.o << 
 67 obj-$(CONFIG_ALPHA_DP264)       += sys_dp264.o << 
 68 obj-$(CONFIG_ALPHA_SHARK)       += sys_dp264.o << 
 69 obj-$(CONFIG_ALPHA_TITAN)       += sys_titan.o << 
 70 obj-$(CONFIG_ALPHA_EIGER)       += sys_eiger.o << 
 71 obj-$(CONFIG_ALPHA_MARVEL)      += sys_marvel. << 
 72 obj-$(CONFIG_ALPHA_MIATA)       += sys_miata.o << 
 73                                    es1888.o sm << 
 74 obj-$(CONFIG_ALPHA_MIKASA)      += sys_mikasa. << 
 75 obj-$(CONFIG_ALPHA_NAUTILUS)    += sys_nautilu << 
 76 obj-$(CONFIG_ALPHA_NORITAKE)    += sys_noritak << 
 77 obj-$(CONFIG_ALPHA_RAWHIDE)     += sys_rawhide << 
 78 obj-$(CONFIG_ALPHA_RUFFIAN)     += sys_ruffian << 
 79 obj-$(CONFIG_ALPHA_RX164)       += sys_rx164.o << 
 80 obj-$(CONFIG_ALPHA_SABLE)       += sys_sable.o << 
 81 obj-$(CONFIG_ALPHA_SX164)       += sys_sx164.o << 
 82                                    irq_srm.o s << 
 83 obj-$(CONFIG_ALPHA_TAKARA)      += sys_takara. << 
 84 obj-$(CONFIG_ALPHA_WILDFIRE)    += sys_wildfir << 
 85                                                << 
 86 # Error support                                << 
 87 obj-$(CONFIG_ALPHA_MARVEL)      += err_ev7.o e << 
 88 obj-$(CONFIG_ALPHA_NAUTILUS)    += err_ev6.o   << 
 89 obj-$(CONFIG_ALPHA_TITAN)       += err_ev6.o e << 
 90                                                     6 
 91 endif # GENERIC                                !!   7 obj-y   := process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o \
                                                   >>   8                 ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_i386.o \
                                                   >>   9                 pci-dma.o i386_ksyms.o i387.o dmi_scan.o bootflag.o \
                                                   >>  10                 doublefault.o
                                                   >>  11 
                                                   >>  12 obj-y                           += cpu/
                                                   >>  13 obj-y                           += timers/
                                                   >>  14 obj-$(CONFIG_ACPI_BOOT)         += acpi/
                                                   >>  15 obj-$(CONFIG_X86_BIOS_REBOOT)   += reboot.o
                                                   >>  16 obj-$(CONFIG_MCA)               += mca.o
                                                   >>  17 obj-$(CONFIG_X86_MSR)           += msr.o
                                                   >>  18 obj-$(CONFIG_X86_CPUID)         += cpuid.o
                                                   >>  19 obj-$(CONFIG_MICROCODE)         += microcode.o
                                                   >>  20 obj-$(CONFIG_APM)               += apm.o
                                                   >>  21 obj-$(CONFIG_X86_SMP)           += smp.o smpboot.o
                                                   >>  22 obj-$(CONFIG_X86_TRAMPOLINE)    += trampoline.o
                                                   >>  23 obj-$(CONFIG_X86_MPPARSE)       += mpparse.o
                                                   >>  24 obj-$(CONFIG_X86_LOCAL_APIC)    += apic.o nmi.o
                                                   >>  25 obj-$(CONFIG_X86_IO_APIC)       += io_apic.o
                                                   >>  26 obj-$(CONFIG_X86_NUMAQ)         += numaq.o
                                                   >>  27 obj-$(CONFIG_X86_SUMMIT)        += summit.o
                                                   >>  28 obj-$(CONFIG_EDD)               += edd.o
                                                   >>  29 obj-$(CONFIG_MODULES)           += module.o
                                                   >>  30 obj-y                           += sysenter.o vsyscall.o
                                                   >>  31 obj-$(CONFIG_ACPI_SRAT)         += srat.o
                                                   >>  32 obj-$(CONFIG_HPET_TIMER)        += time_hpet.o
                                                   >>  33 
                                                   >>  34 EXTRA_AFLAGS   := -traditional
                                                   >>  35 
                                                   >>  36 obj-$(CONFIG_SCx200)            += scx200.o
                                                   >>  37 
                                                   >>  38 # vsyscall.o contains the vsyscall DSO images as __initdata.
                                                   >>  39 # We must build both images before we can assemble it.
                                                   >>  40 # Note: kbuild does not track this dependency due to usage of .incbin
                                                   >>  41 $(obj)/vsyscall.o: $(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so
                                                   >>  42 targets += $(foreach F,int80 sysenter,vsyscall-$F.o vsyscall-$F.so)
                                                   >>  43 
                                                   >>  44 # The DSO images are built using a special linker script.
                                                   >>  45 quiet_cmd_syscall = SYSCALL $@
                                                   >>  46       cmd_syscall = $(CC) -nostdlib $(SYSCFLAGS_$(@F)) \
                                                   >>  47                           -Wl,-T,$(filter-out FORCE,$^) -o $@
                                                   >>  48 
                                                   >>  49 vsyscall-flags = -shared -s -Wl,-soname=linux-gate.so.1
                                                   >>  50 SYSCFLAGS_vsyscall-sysenter.so  = $(vsyscall-flags)
                                                   >>  51 SYSCFLAGS_vsyscall-int80.so     = $(vsyscall-flags)
                                                   >>  52 
                                                   >>  53 $(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so: \
                                                   >>  54 $(obj)/vsyscall-%.so: $(src)/vsyscall.lds $(obj)/vsyscall-%.o FORCE
                                                   >>  55         $(call if_changed,syscall)
                                                   >>  56 
                                                   >>  57 # We also create a special relocatable object that should mirror the symbol
                                                   >>  58 # table and layout of the linked DSO.  With ld -R we can then refer to
                                                   >>  59 # these symbols in the kernel code rather than hand-coded addresses.
                                                   >>  60 extra-y += vsyscall-syms.o
                                                   >>  61 $(obj)/built-in.o: $(obj)/vsyscall-syms.o
                                                   >>  62 $(obj)/built-in.o: ld_flags += -R $(obj)/vsyscall-syms.o
                                                   >>  63 
                                                   >>  64 SYSCFLAGS_vsyscall-syms.o = -r
                                                   >>  65 $(obj)/vsyscall-syms.o: $(src)/vsyscall.lds $(obj)/vsyscall-sysenter.o FORCE
                                                   >>  66         $(call if_changed,syscall)
                                                      

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