Simplify kernel config file need.
Don't build a default config file when not needed.
1 From http://www.ltc.com/~brad/mips/glibc-2.2.5-mips-build-gmon.diff
2 See http://www.ltc.com/~brad/mips/mips-cross-toolchain.html
4 --- glibc-2.2.5/sysdeps/mips/machine-gmon.h 2001-08-13 04:42:44.000000000 -0400
5 +++ glibc-2.2.5/sysdeps/mips/machine-gmon.h 2002-09-25 17:10:59.000000000 -0400
7 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
10 -#define _MCOUNT_DECL static void __mcount
11 +#define _MCOUNT_DECL(frompc,selfpc) \
12 +static void __attribute_used__ __mcount (u_long frompc, u_long selfpc)
14 /* Call __mcount with our the return PC for our caller,
15 and the return PC our caller will return to. */
17 #define CPLOAD ".cpload $25;"
18 +#define CPRESTORE ".cprestore 44\n\t"
27 - ".type _mcount,@function;" \
31 + ".globl _mcount;\n\t" \
33 + ".type _mcount,@function;\n\t" \
34 + ".ent _mcount\n\t" \
36 + ".frame $sp,44,$31\n\t" \
37 + ".set noreorder;\n\t" \
61 + "subu $29,$29,48;\n\t" \
63 + "sw $4,24($29);\n\t" \
64 + "sw $5,28($29);\n\t" \
65 + "sw $6,32($29);\n\t" \
66 + "sw $7,36($29);\n\t" \
67 + "sw $2,40($29);\n\t" \
68 + "sw $1,16($29);\n\t" \
69 + "sw $31,20($29);\n\t" \
70 + "move $5,$31;\n\t" \
72 + "jal __mcount;\n\t" \
74 + "lw $4,24($29);\n\t" \
75 + "lw $5,28($29);\n\t" \
76 + "lw $6,32($29);\n\t" \
77 + "lw $7,36($29);\n\t" \
78 + "lw $2,40($29);\n\t" \
79 + "lw $31,20($29);\n\t" \
80 + "lw $1,16($29);\n\t" \
81 + "addu $29,$29,56;\n\t" \
83 + "move $31,$1;\n\t" \
84 + ".set reorder;\n\t" \