Makefile 1.84 KB
Newer Older
1 2 3 4 5 6 7
#
# Makefile for the linux kernel.
#

ifdef CONFIG_PPC64BRIDGE
EXTRA_AFLAGS		:= -Wa,-mppc64bridge
endif
8
ifdef CONFIG_40x
9 10 11 12
EXTRA_AFLAGS		:= -Wa,-m405
endif

# Extra CFLAGS so we don't have to do relative includes
13
CFLAGS_pmac_setup.o	+= -Iarch/$(ARCH)/mm
14 15 16 17 18

obj-$(CONFIG_APUS)		+= apus_setup.o
ifeq ($(CONFIG_APUS),y)
obj-$(CONFIG_PCI)		+= apus_pci.o
endif
19 20 21 22 23
obj-$(CONFIG_PPC_PMAC)		+= pmac_pic.o pmac_setup.o pmac_time.o \
					pmac_feature.o pmac_pci.o pmac_sleep.o
obj-$(CONFIG_PPC_CHRP)		+= chrp_setup.o chrp_time.o chrp_pci.o
obj-$(CONFIG_PPC_PREP)		+= prep_pci.o prep_time.o prep_setup.o
ifeq ($(CONFIG_PPC_PMAC),y)
24
obj-$(CONFIG_NVRAM)		+= pmac_nvram.o
25 26
obj-$(CONFIG_CPU_FREQ_PMAC)	+= pmac_cpufreq.o
endif
27
obj-$(CONFIG_PMAC_BACKLIGHT)	+= pmac_backlight.o
28 29 30
obj-$(CONFIG_PPC_RTAS)		+= error_log.o proc_rtas.o
obj-$(CONFIG_PREP_RESIDUAL)	+= residual.o
obj-$(CONFIG_ADIR)		+= adir_setup.o adir_pic.o adir_pci.o
31 32
obj-$(CONFIG_EST8260)		+= est8260_setup.o
obj-$(CONFIG_TQM8260)		+= tqm8260_setup.o
33 34 35 36 37 38 39
obj-$(CONFIG_EV64260)		+= ev64260_setup.o
obj-$(CONFIG_GEMINI)		+= gemini_pci.o gemini_setup.o gemini_prom.o
obj-$(CONFIG_K2)		+= k2_setup.o k2_pci.o
obj-$(CONFIG_LOPEC)		+= lopec_setup.o lopec_pci.o
obj-$(CONFIG_MCPN765)		+= mcpn765_setup.o mcpn765_pci.o
obj-$(CONFIG_MENF1)		+= menf1_setup.o menf1_pci.o
obj-$(CONFIG_MVME5100)		+= mvme5100_setup.o mvme5100_pci.o
40
obj-$(CONFIG_PAL4)		+= pal4_setup.o pal4_pci.o
41 42
obj-$(CONFIG_PCORE)		+= pcore_setup.o pcore_pci.o
obj-$(CONFIG_POWERPMC250)	+= powerpmc250.o
43
obj-$(CONFIG_PPLUS)		+= pplus_pci.o pplus_setup.o
44 45 46
obj-$(CONFIG_PRPMC750)		+= prpmc750_setup.o prpmc750_pci.o
obj-$(CONFIG_PRPMC800)		+= prpmc800_setup.o prpmc800_pci.o
obj-$(CONFIG_SANDPOINT)		+= sandpoint_setup.o sandpoint_pci.o
47
obj-$(CONFIG_SPRUCE)		+= spruce_setup.o spruce_pci.o
48 49

ifeq ($(CONFIG_SMP),y)
50 51
obj-$(CONFIG_PPC_PMAC)		+= pmac_smp.o
obj-$(CONFIG_PPC_CHRP)		+= chrp_smp.o
52
endif