mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 14:12:26 +00:00
kernel/mingw32: use pre-set headers dir
There is a variable that contains the headers directory, so there's no need to re-compute it again. [Yann E. MORIN: split the original patch]
This commit is contained in:
parent
2b2ec4dd4b
commit
1c81b216c8
@ -19,9 +19,9 @@ do_kernel_extract() {
|
|||||||
do_kernel_headers() {
|
do_kernel_headers() {
|
||||||
CT_DoStep INFO "Installing kernel headers"
|
CT_DoStep INFO "Installing kernel headers"
|
||||||
|
|
||||||
mkdir -p "${CT_SYSROOT_DIR}/include"
|
mkdir -p "${CT_HEADERS_DIR}"
|
||||||
cp -r ${CT_SRC_DIR}/w32api-${CT_W32API_VERSION}-mingw32/include \
|
cp -r ${CT_SRC_DIR}/w32api-${CT_W32API_VERSION}-mingw32/include/* \
|
||||||
${CT_SYSROOT_DIR}
|
${CT_HEADERS_DIR}
|
||||||
|
|
||||||
CT_EndStep
|
CT_EndStep
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user