2010-07-11 19:36:20 +00:00
|
|
|
# This file declares functions to install the kernel headers for mingw
|
|
|
|
# Copyright 2009 Bart vdr. Meulen
|
|
|
|
# Licensed under the GPL v2. See COPYING in the root of this package
|
|
|
|
|
|
|
|
CT_DoKernelTupleValues() {
|
|
|
|
CT_TARGET_KERNEL="mingw32"
|
|
|
|
CT_TARGET_SYS=
|
|
|
|
}
|
|
|
|
|
|
|
|
do_kernel_get() {
|
|
|
|
CT_GetFile "w32api-${CT_W32API_VERSION}-mingw32-src" \
|
|
|
|
http://downloads.sourceforge.net/sourceforge/mingw
|
|
|
|
}
|
|
|
|
|
|
|
|
do_kernel_extract() {
|
|
|
|
CT_Extract "w32api-${CT_W32API_VERSION}-mingw32-src"
|
|
|
|
}
|
|
|
|
|
|
|
|
do_kernel_headers() {
|
|
|
|
CT_DoStep INFO "Installing kernel headers"
|
|
|
|
|
2010-08-14 21:14:27 +00:00
|
|
|
mkdir -p "${CT_HEADERS_DIR}"
|
|
|
|
cp -r ${CT_SRC_DIR}/w32api-${CT_W32API_VERSION}-mingw32/include/* \
|
|
|
|
${CT_HEADERS_DIR}
|
2010-07-11 19:36:20 +00:00
|
|
|
|
|
|
|
CT_EndStep
|
|
|
|
}
|