]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | Subject: arch/powerpc/lib/crtsavres.o is not available when linking external modules |
2 | From: olh@suse.de | |
3 | Patch-mainline: never | |
4 | ||
5 | Maybe it helps. | |
6 | ||
7 | --- | |
8 | arch/powerpc/Makefile | 6 ++++-- | |
9 | 1 file changed, 4 insertions(+), 2 deletions(-) | |
10 | ||
11 | --- a/arch/powerpc/Makefile | |
12 | +++ b/arch/powerpc/Makefile | |
13 | @@ -83,15 +83,17 @@ ifeq ($(GCC_BROKEN_VEC),y) | |
14 | KBUILD_CFLAGS += $(call cc-option,-mcpu=970) | |
15 | else | |
16 | KBUILD_CFLAGS += $(call cc-option,-mcpu=power4) | |
17 | +# GCC_BROKEN_VEC | |
18 | endif | |
19 | else | |
20 | KBUILD_CFLAGS += $(call cc-option,-mcpu=power4) | |
21 | +# CONFIG_ALTIVEC | |
22 | endif | |
23 | else | |
24 | KBUILD_CFLAGS += $(call cc-option,-mtune=power4) | |
25 | +# CONFIG_POWER4_ONLY | |
26 | endif | |
27 | -else | |
28 | -LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o | |
29 | +# CONFIG_PPC64 | |
30 | endif | |
31 | ||
32 | ifeq ($(CONFIG_TUNE_CELL),y) |