diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-05 23:24:50 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-05 23:24:50 -0400 |
commit | b3491269f5604e4265ee2f27b47a76ce1e3678b6 (patch) | |
tree | 671e3135c697ff680d6d8a4cced7563cd5cf75db /arch/powerpc | |
parent | 2e686bc3bf6268e30eb9584e0bcd43b7bec28f3b (diff) |
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')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 3 |
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 | |||
7 | endif | 7 | endif |
8 | ifeq ($(CONFIG_PPC32),y) | 8 | ifeq ($(CONFIG_PPC32),y) |
9 | CFLAGS_prom_init.o += -fPIC | 9 | CFLAGS_prom_init.o += -fPIC |
10 | CFLAGS_btext.o += -fPIC | ||
10 | endif | 11 | endif |
11 | 12 | ||
12 | extra-$(CONFIG_PPC_STD_MMU) := head.o | 13 | extra-$(CONFIG_PPC_STD_MMU) := head.o |
@@ -23,7 +24,7 @@ obj-y := traps.o prom.o semaphore.o | |||
23 | obj-$(CONFIG_PPC32) += setup.o process.o | 24 | obj-$(CONFIG_PPC32) += setup.o process.o |
24 | obj-$(CONFIG_PPC64) += idle_power4.o | 25 | obj-$(CONFIG_PPC64) += idle_power4.o |
25 | ifeq ($(CONFIG_PPC32),y) | 26 | ifeq ($(CONFIG_PPC32),y) |
26 | obj-$(CONFIG_PPC_OF) += prom_init.o | 27 | obj-$(CONFIG_PPC_OF) += prom_init.o of_device.o |
27 | obj-$(CONFIG_MODULES) += ppc_ksyms.o | 28 | obj-$(CONFIG_MODULES) += ppc_ksyms.o |
28 | endif | 29 | endif |
29 | obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o | 30 | obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o |