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(-)
5 prompt "uClibc version"
9 prompt "latest snapshot"
11 config LIBC_V_specific_date
13 prompt "<specific date>"
17 prompt "0.9.28 (OBSOLETE)"
20 config LIBC_V_0_9_28_1
22 prompt "0.9.28.1 (OBSOLETE)"
25 config LIBC_V_0_9_28_2
27 prompt "0.9.28.2 (OBSOLETE)"
30 config LIBC_V_0_9_28_3
38 # CT_INSERT_VERSION_ABOVE
39 # Don't remove above line!
44 prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
45 default "snapshot" if LIBC_V_snapshot
46 default "0.9.28" if LIBC_V_0_9_28
47 default "0.9.28.1" if LIBC_V_0_9_28_1
48 default "0.9.28.2" if LIBC_V_0_9_28_2
49 default "0.9.28.3" if LIBC_V_0_9_28_3
50 default "0.9.29" if LIBC_V_0_9_29
51 # CT_INSERT_VERSION_STRING_ABOVE
52 # Don't remove above line!
54 Enter the date of the snapshot you want to use in the form: YYYYMMDD
55 where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
58 Please note that uClibc site removes snapshots older than a month.
62 prompt "uClibc verbosity:"
63 default LIBC_UCLIBC_VERBOSITY_0
65 config LIBC_UCLIBC_VERBOSITY_0
69 Print simplified command lines.
71 config LIBC_UCLIBC_VERBOSITY_1
73 prompt "Full commands"
75 Print full command lines.
79 config LIBC_UCLIBC_VERBOSITY
81 default "" if LIBC_UCLIBC_VERBOSITY_0
82 default "V=1" if LIBC_UCLIBC_VERBOSITY_1
87 default LIBC_UCLIBC_DEBUG_LEVEL_0
89 config LIBC_UCLIBC_DEBUG_LEVEL_0
93 config LIBC_UCLIBC_DEBUG_LEVEL_1
97 config LIBC_UCLIBC_DEBUG_LEVEL_2
103 config LIBC_UCLIBC_DEBUG_LEVEL
105 default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
106 default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
107 default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
109 config LIBC_UCLIBC_CONFIG_FILE
111 prompt "Configuration file"
114 Path to the configuration file.
116 You _must_ provide one (for now).
118 config LIBC_UCLIBC_LOCALES
120 prompt "Add support for locales"
123 Say y if you want uClibc to support localisation.
125 Note that seems to be broken on recent uClibc releases.