summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorPaul Mackerras2005-10-06 05:24:50 +0200
committerPaul Mackerras2005-10-06 05:24:50 +0200
commitb3491269f5604e4265ee2f27b47a76ce1e3678b6 (patch)
tree671e3135c697ff680d6d8a4cced7563cd5cf75db /arch/powerpc/kernel/Makefile
parentpowerpc: Merge of_device.c and of_device.h (diff)
downloadkernel-qcow2-linux-b3491269f5604e4265ee2f27b47a76ce1e3678b6.tar.gz
kernel-qcow2-linux-b3491269f5604e4265ee2f27b47a76ce1e3678b6.tar.xz
kernel-qcow2-linux-b3491269f5604e4265ee2f27b47a76ce1e3678b6.zip
powerpc: Use the merged of_device.c with ARCH=powerpc
Also compile btext.c with -fPIC; this was missed before. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r--arch/powerpc/kernel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 4842e82dbc2b..06d618e52f8e 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -7,6 +7,7 @@ EXTRA_CFLAGS += -mno-minimal-toc
endif
ifeq ($(CONFIG_PPC32),y)
CFLAGS_prom_init.o += -fPIC
+CFLAGS_btext.o += -fPIC
endif
extra-$(CONFIG_PPC_STD_MMU) := head.o
@@ -23,7 +24,7 @@ obj-y := traps.o prom.o semaphore.o
obj-$(CONFIG_PPC32) += setup.o process.o
obj-$(CONFIG_PPC64) += idle_power4.o
ifeq ($(CONFIG_PPC32),y)
-obj-$(CONFIG_PPC_OF) += prom_init.o
+obj-$(CONFIG_PPC_OF) += prom_init.o of_device.o
obj-$(CONFIG_MODULES) += ppc_ksyms.o
endif
obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o