mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
libc/newlib: Add do_libc_start_files to copy headers to CT_HEADERS_DIR
Require access to newlibs headers in gcc.sh, matching other libc components. Resolves issue with headers not found. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
This commit is contained in:
parent
767aa9befc
commit
234c643008
@ -50,16 +50,16 @@ do_libc_check_config() {
|
||||
}
|
||||
|
||||
do_libc_start_files() {
|
||||
CT_DoStep INFO "Installing C library headers & start files"
|
||||
CT_DoExecLog ALL cp -a "${CT_SRC_DIR}/newlib-${CT_LIBC_VERSION}/newlib/libc/include/." \
|
||||
"${CT_HEADERS_DIR}"
|
||||
if [ "${CT_ATMEL_AVR32_HEADERS}" = "y" ]; then
|
||||
CT_DoStep INFO "Installing C library headers & start files"
|
||||
|
||||
CT_DoLog EXTRA "Installing Atmel's AVR32 headers"
|
||||
CT_DoExecLog ALL mkdir -p "${CT_PREFIX_DIR}/${CT_TARGET}/include"
|
||||
CT_DoExecLog ALL cp -r "${CT_SRC_DIR}/${LIBC_NEWLIB_AVR_HDRS_BASE}/avr32" \
|
||||
"${CT_PREFIX_DIR}/${CT_TARGET}/include/"
|
||||
|
||||
CT_EndStep
|
||||
fi
|
||||
CT_EndStep
|
||||
}
|
||||
|
||||
do_libc() {
|
||||
|
Loading…
Reference in New Issue
Block a user