mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 15:06:42 +00:00
scripts: create CT_HEADERS_DIR
"${CT_SYSROOT_DIR}/usr/include" is only for "${CT_USE_SYSROOT}" = "y". We should also mkdir when "${CT_USE_SYSROOT}" != "y". "${CT_HEADERS_DIR}" can support both cases. Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org> (transplanted from bdff4164a1227ebdd538e0ad3c9b6862b3c5a253)
This commit is contained in:
parent
eabd25ae00
commit
0b3127e020
@ -303,7 +303,7 @@ if [ -z "${CT_RESTART}" ]; then
|
||||
CT_DoExecLog ALL mkdir -p "${CT_PREFIX_DIR}/lib"
|
||||
CT_DoExecLog ALL mkdir -p "${CT_SYSROOT_DIR}/lib"
|
||||
CT_DoExecLog ALL mkdir -p "${CT_SYSROOT_DIR}/usr/lib"
|
||||
CT_DoExecLog ALL mkdir -p "${CT_SYSROOT_DIR}/usr/include"
|
||||
CT_DoExecLog ALL mkdir -p "${CT_HEADERS_DIR}"
|
||||
|
||||
if [ "${CT_USE_SYSROOT}" = "y" ]; then
|
||||
# Prevent gcc from installing its libraries outside of the sysroot
|
||||
|
Loading…
Reference in New Issue
Block a user