Makefile (8ad200d7b7c8fac77cf705831e90e889360d7030) Makefile (5ad570786158e327a1c5d32dd3d66f26d8de6340)
1#
2# Makefile for the linux kernel.
3#
4
5ifeq ($(CONFIG_PPC64),y)
6EXTRA_CFLAGS += -mno-minimal-toc
7endif
8ifeq ($(CONFIG_PPC32),y)

--- 27 unchanged lines hidden (view full) ---

36obj-y += process.o init_task.o time.o \
37 prom.o traps.o setup-common.o
38obj-$(CONFIG_PPC32) += entry_32.o setup_32.o misc_32.o systbl.o
39obj-$(CONFIG_PPC64) += misc_64.o
40obj-$(CONFIG_PPC_OF) += prom_init.o
41obj-$(CONFIG_MODULES) += ppc_ksyms.o
42obj-$(CONFIG_BOOTX_TEXT) += btext.o
43obj-$(CONFIG_6xx) += idle_6xx.o
1#
2# Makefile for the linux kernel.
3#
4
5ifeq ($(CONFIG_PPC64),y)
6EXTRA_CFLAGS += -mno-minimal-toc
7endif
8ifeq ($(CONFIG_PPC32),y)

--- 27 unchanged lines hidden (view full) ---

36obj-y += process.o init_task.o time.o \
37 prom.o traps.o setup-common.o
38obj-$(CONFIG_PPC32) += entry_32.o setup_32.o misc_32.o systbl.o
39obj-$(CONFIG_PPC64) += misc_64.o
40obj-$(CONFIG_PPC_OF) += prom_init.o
41obj-$(CONFIG_MODULES) += ppc_ksyms.o
42obj-$(CONFIG_BOOTX_TEXT) += btext.o
43obj-$(CONFIG_6xx) += idle_6xx.o
44obj-$(CONFIG_SMP) += smp.o
44
45ifeq ($(CONFIG_PPC_ISERIES),y)
46$(obj)/head_64.o: $(obj)/lparmap.s
47AFLAGS_head_64.o += -I$(obj)
48endif
49
50else
51# stuff used from here for ARCH=ppc or ARCH=ppc64
45
46ifeq ($(CONFIG_PPC_ISERIES),y)
47$(obj)/head_64.o: $(obj)/lparmap.s
48AFLAGS_head_64.o += -I$(obj)
49endif
50
51else
52# stuff used from here for ARCH=ppc or ARCH=ppc64
53smpobj-$(CONFIG_SMP) += smp.o
52obj-$(CONFIG_PPC64) += traps.o process.o init_task.o time.o \
54obj-$(CONFIG_PPC64) += traps.o process.o init_task.o time.o \
53 setup-common.o
55 setup-common.o $(smpobj-y)
54
55
56endif
57
58extra-$(CONFIG_PPC_FPU) += fpu.o
59extra-$(CONFIG_PPC64) += entry_64.o
56
57
58endif
59
60extra-$(CONFIG_PPC_FPU) += fpu.o
61extra-$(CONFIG_PPC64) += entry_64.o