summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZhenqiang Chen <zhenqiang.chen@linaro.org>2011-12-07 08:15:50 (GMT)
committerZhenqiang Chen <zhenqiang.chen@linaro.org>2011-12-07 08:15:50 (GMT)
commit919775e88bf8221aae9b9bc729dabc8e036e2eec (patch)
tree29d6efa52d4c3990bac78515be82f92f3c5240f0 /scripts
parent9a3b04c3e1ca2a9b58bbb699304313d74009c52e (diff)
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/crosstool-NG.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in
index 027bb59..5421751 100644
--- a/scripts/crosstool-NG.sh.in
+++ b/scripts/crosstool-NG.sh.in
@@ -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