mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 08:25:32 +00:00
Use CT_DoExecLog for Linux headers install.
/trunk/scripts/build/kernel_linux.sh | 6 4 2 0 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
This commit is contained in:
parent
588d2d9852
commit
8c214615b0
@ -108,21 +108,23 @@ do_kernel_install() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
CT_DoLog EXTRA "Installing kernel headers"
|
CT_DoLog EXTRA "Installing kernel headers"
|
||||||
|
CT_DoExecLog ALL \
|
||||||
make -C "${CT_SRC_DIR}/${CT_KERNEL_FILE}" \
|
make -C "${CT_SRC_DIR}/${CT_KERNEL_FILE}" \
|
||||||
O=$(pwd) \
|
O=$(pwd) \
|
||||||
ARCH=${CT_KERNEL_ARCH} \
|
ARCH=${CT_KERNEL_ARCH} \
|
||||||
INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \
|
INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \
|
||||||
${V_OPT} \
|
${V_OPT} \
|
||||||
headers_install 2>&1 |CT_DoLog ALL
|
headers_install
|
||||||
|
|
||||||
if [ "${CT_KERNEL_LINUX_HEADERS_INSTALL_CHECK}" = "y" ]; then
|
if [ "${CT_KERNEL_LINUX_HEADERS_INSTALL_CHECK}" = "y" ]; then
|
||||||
CT_DoLog EXTRA "Checking installed headers"
|
CT_DoLog EXTRA "Checking installed headers"
|
||||||
|
CT_DoExecLog ALL \
|
||||||
make -C "${CT_SRC_DIR}/${CT_KERNEL_FILE}" \
|
make -C "${CT_SRC_DIR}/${CT_KERNEL_FILE}" \
|
||||||
O=$(pwd) \
|
O=$(pwd) \
|
||||||
ARCH=${CT_KERNEL_ARCH} \
|
ARCH=${CT_KERNEL_ARCH} \
|
||||||
INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \
|
INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \
|
||||||
${V_OPT} \
|
${V_OPT} \
|
||||||
headers_check 2>&1 |CT_DoLog ALL
|
headers_check
|
||||||
find "${CT_SYSROOT_DIR}" -type f -name '.check*' -exec rm {} \;
|
find "${CT_SYSROOT_DIR}" -type f -name '.check*' -exec rm {} \;
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user