makefile
来自「是关于linux2.5.1的完全源码」· 代码 · 共 42 行
TXT
42 行
## Makefile for the linux kernel.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your own dependencies here# unless it's something special (ie not a .c file).## Note 2! The CFLAGS definitions are now in the main makefile....S.o: $(CC) $(AFLAGS) -traditional -c $< -o $*.oall: kernel.o head.o head64.o init_task.oO_TARGET := kernel.oexport-objs := mtrr.o msr.o cpuid.o x8664_ksyms.oobj-y := process.o semaphore.o signal.o entry.o traps.o irq.o \ ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_x86_64.o \ pci-dma.o x8664_ksyms.o i387.o syscall.o vsyscall.o \ setup64.o bluesmoke.o bootflag.oifdef CONFIG_PCIobj-y += pci-x86_64.oobj-y += pci-pc.o pci-irq.oendifobj-$(CONFIG_MTRR) += mtrr.oobj-$(CONFIG_X86_MSR) += msr.oobj-$(CONFIG_X86_CPUID) += cpuid.oobj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.oobj-$(CONFIG_X86_LOCAL_APIC) += apic.o nmi.oobj-$(CONFIG_X86_IO_APIC) += io_apic.o mpparse.o#obj-$(CONFIG_ACPI) += acpi.o#obj-$(CONFIG_ACPI_SLEEP) += acpi_wakeup.oobj-$(CONFIG_EARLY_PRINTK) += early_printk.oinclude $(TOPDIR)/Rules.make
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?