diff options
author | Alexey Neyman <stilor@att.net> | 2016-03-21 11:18:53 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2016-08-23 11:00:27 -0700 |
commit | 43c303c946c61469181d633cd5620cb92e44c329 (patch) | |
tree | 47619ed4dcc052bfc7fbc24d21b577b24d9fbe2e /scripts/build/binutils/binutils.sh | |
parent | 82072d0cbc238000fd1547551deb198aa8c8d466 (diff) | |
download | crosstool-ng-43c303c946c61469181d633cd5620cb92e44c329.tar.gz crosstool-ng-43c303c946c61469181d633cd5620cb92e44c329.tar.bz2 crosstool-ng-43c303c946c61469181d633cd5620cb92e44c329.zip |
libc/*.sh: handle combinations of multilib root/dir.
Install startfiles for libc variants into the most specific combination
(suffixed sysroot, if applicable + suffixed multi-os dir, if
applicable). Install headers once in every suffixed sysroot (although it
seems that GCC picks up headers from top-level sysroot, GCC manual
claims that sysroot suffix affects headers search path).
In uClibc, this requires a better sanitization of the directory: it
creates symlinks from {sysroot}/usr/lib/{multi_os_dir} to
{sysroot}/lib/{multi_os_dir} and to do so, it counts the number of path
components in the libdir. This breaks if one of such components is `..'
- symlinks contain an extra `../..' then. Since such sanitization had to
be implemented anyway, use it in other places to print more sensible
directory names.
Also, fix the description of configure --host/--target per musl's
configure help message (and its actual code).
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/binutils/binutils.sh')
0 files changed, 0 insertions, 0 deletions