1# 2# Makefile for the linux kernel. 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 8USE_STANDARD_AS_RULE := true 9 10HEAD_OBJ = head-$(PROCESSOR).o 11ENTRY_OBJ = entry-$(PROCESSOR).o 12 13AFLAGS_head-armv.o := -DTEXTADDR=$(TEXTADDR) 14AFLAGS_head-armo.o := -DTEXTADDR=$(TEXTADDR) 15 16# This is depreciated. 17O_OBJS_arc = dma-arc.o oldlatches.o 18O_OBJS_rpc = dma-rpc.o 19O_OBJS_footbridge = dma-footbridge.o isa.o 20O_OBJS_l7200 = fiq.o 21O_OBJS_riscstation = fiq.o dma-riscstation.o 22 23pci-ftvpci = plx90x0.o 24pci-footbridge = dec21285.o 25pci-shark = via82c505.o 26 27# this is here to allow us to eventually move it out to mach-ftvpci 28pci-$(CONFIG_ARCH_FTVPCI) += ftv-pci.o 29 30 31O_TARGET := kernel.o 32 33# Object file lists. 34 35obj-y := arch.o compat.o dma.o $(ENTRY_OBJ) entry-common.o irq.o \ 36 process.o ptrace.o semaphore.o setup.o signal.o sys_arm.o \ 37 time.o traps.o $(O_OBJS_$(MACHINE)) 38obj-m := 39obj-n := 40obj- := 41 42export-objs := armksyms.o dma.o ecard.o fiq.o io.o oldlatches.o time.o 43 44no-irq-arch := $(CONFIG_ARCH_INTEGRATOR) $(CONFIG_ARCH_CLPS711X) \ 45 $(CONFIG_FOOTBRIDGE) $(CONFIG_ARCH_EBSA110) \ 46 $(CONFIG_ARCH_SA1100) $(CONFIG_ARCH_CAMELOT) \ 47 $(CONFIG_ARCH_MX1ADS) $(CONFIG_ARCH_OMAHA) \ 48 $(CONFIG_ARCH_AT91RM9200) 49 50ifneq ($(findstring y,$(no-irq-arch)),y) 51 obj-y += irq-arch.o 52endif 53 54obj-$(CONFIG_ARCH_ACORN) += ecard.o fiq.o time-acorn.o 55obj-$(CONFIG_ARCH_CLPS7500) += time-acorn.o 56obj-$(CONFIG_ARCH_RISCSTATION) += time-acorn.o 57obj-$(CONFIG_DEBUG_LL) += debug-$(PROCESSOR).o 58obj-$(CONFIG_MODULES) += armksyms.o 59obj-$(CONFIG_ARTHUR) += arthur.o 60obj-$(CONFIG_ISA_DMA) += dma-isa.o 61obj-$(CONFIG_PCI) += bios32.o $(pci-$(MACHINE)) $(pci-y) 62 63ifneq ($(MACHINE),ebsa110) 64 obj-y += io.o 65endif 66 67all: kernel.o $(HEAD_OBJ) init_task.o 68 69include $(TOPDIR)/Rules.make 70 71# Spell out some dependencies that `make dep' doesn't spot 72entry-armv.o: entry-header.S $(TOPDIR)/include/asm-arm/constants.h 73entry-armo.o: entry-header.S $(TOPDIR)/include/asm-arm/constants.h 74entry-common.o: entry-header.S calls.S $(TOPDIR)/include/asm-arm/constants.h 75