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:
Esben Haabendal 2010-08-14 23:14:27 +02:00
parent 2b2ec4dd4b
commit 1c81b216c8

View File

@ -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
} }