Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.
It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi).
There's still work to do, especially finish the gcc part that is not in this commit.
/trunk/scripts/functions | 9 7 2 0 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
3 prompt "Linux kernel version"
5 config KERNEL_INSTALL_V_2_6_18_8
7 prompt "2.6.18.8 (OBSOLETE)"
8 depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE
10 config KERNEL_INSTALL_V_2_6_19_7
12 prompt "2.6.19.7 (OBSOLETE)"
13 depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE
15 config KERNEL_INSTALL_V_2_6_20_21
17 prompt "2.6.20.21 (OBSOLETE)"
18 depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE
20 config KERNEL_INSTALL_V_2_6_21_7
22 prompt "2.6.21.7 (OBSOLETE)"
23 depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE
25 config KERNEL_INSTALL_V_2_6_22_19
27 prompt "2.6.22.19 (OBSOLETE)"
28 depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE
30 config KERNEL_INSTALL_V_2_6_23_17
32 prompt "2.6.23.17 (OBSOLETE)"
33 depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE
35 config KERNEL_INSTALL_V_2_6_24
39 config KERNEL_INSTALL_V_2_6_24_1
42 depends on KERNEL_VERSION_SEE_EXTRAVERSION
44 config KERNEL_INSTALL_V_2_6_24_2
47 depends on KERNEL_VERSION_SEE_EXTRAVERSION
49 config KERNEL_INSTALL_V_2_6_24_3
52 depends on KERNEL_VERSION_SEE_EXTRAVERSION
54 config KERNEL_INSTALL_V_2_6_24_4
57 depends on KERNEL_VERSION_SEE_EXTRAVERSION
59 config KERNEL_INSTALL_V_2_6_24_5
62 depends on KERNEL_VERSION_SEE_EXTRAVERSION
64 config KERNEL_INSTALL_V_2_6_24_6
67 depends on KERNEL_VERSION_SEE_EXTRAVERSION
69 config KERNEL_INSTALL_V_2_6_24_7
72 depends on KERNEL_VERSION_SEE_EXTRAVERSION
74 config KERNEL_INSTALL_V_2_6_25
78 config KERNEL_INSTALL_V_2_6_25_1
81 depends on KERNEL_VERSION_SEE_EXTRAVERSION
83 config KERNEL_INSTALL_V_2_6_25_2
86 depends on KERNEL_VERSION_SEE_EXTRAVERSION
88 config KERNEL_INSTALL_V_2_6_25_3
91 depends on KERNEL_VERSION_SEE_EXTRAVERSION
93 config KERNEL_INSTALL_V_2_6_25_4
96 depends on KERNEL_VERSION_SEE_EXTRAVERSION
98 # CT_INSERT_VERSION_ABOVE
99 # Don't remove above line!
102 config KERNEL_VERSION
104 default "2.6.18.8" if KERNEL_INSTALL_V_2_6_18_8
105 default "2.6.19.7" if KERNEL_INSTALL_V_2_6_19_7
106 default "2.6.20.21" if KERNEL_INSTALL_V_2_6_20_21
107 default "2.6.21.7" if KERNEL_INSTALL_V_2_6_21_7
108 default "2.6.22.19" if KERNEL_INSTALL_V_2_6_22_19
109 default "2.6.23.17" if KERNEL_INSTALL_V_2_6_23_17
110 default "2.6.24" if KERNEL_INSTALL_V_2_6_24
111 default "2.6.24.1" if KERNEL_INSTALL_V_2_6_24_1
112 default "2.6.24.2" if KERNEL_INSTALL_V_2_6_24_2
113 default "2.6.24.3" if KERNEL_INSTALL_V_2_6_24_3
114 default "2.6.24.4" if KERNEL_INSTALL_V_2_6_24_4
115 default "2.6.24.5" if KERNEL_INSTALL_V_2_6_24_5
116 default "2.6.24.6" if KERNEL_INSTALL_V_2_6_24_6
117 default "2.6.24.7" if KERNEL_INSTALL_V_2_6_24_7
118 default "2.6.25" if KERNEL_INSTALL_V_2_6_25
119 default "2.6.25.1" if KERNEL_INSTALL_V_2_6_25_1
120 default "2.6.25.2" if KERNEL_INSTALL_V_2_6_25_2
121 default "2.6.25.3" if KERNEL_INSTALL_V_2_6_25_3
122 default "2.6.25.4" if KERNEL_INSTALL_V_2_6_25_4
123 # CT_INSERT_VERSION_STRING_ABOVE
124 # Don't remove above line!
126 config KERNEL_LINUX_HEADERS_INSTALL_CHECK
128 prompt "Check installed headers"
131 If you are in doubt that installed headers are buggy, say 'Y'
132 here to have an extra check passed onto the headers.