summaryrefslogtreecommitdiff
path: root/scripts/build/kernel_linux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/kernel_linux.sh')
-rw-r--r--scripts/build/kernel_linux.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/kernel_linux.sh b/scripts/build/kernel_linux.sh
index a272b1f..07005e0 100644
--- a/scripts/build/kernel_linux.sh
+++ b/scripts/build/kernel_linux.sh
@@ -13,11 +13,8 @@ do_print_filename() {
# Download the kernel
do_kernel_get() {
if [ "${CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR}" != "y" ]; then
- CT_GetFile "${CT_KERNEL_FILE}" \
- ftp://ftp.kernel.org/pub/linux/kernel/v2.6 \
- ftp://ftp.kernel.org/pub/linux/kernel/v2.4 \
- ftp://ftp.kernel.org/pub/linux/kernel/v2.2 \
- ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing \
+ CT_GetFile "${CT_KERNEL_FILE}" \
+ {ftp,http}://ftp.kernel.org/pub/linux/kernel/v2.{6{,/testing},4,2} \
http://ep09.pld-linux.org/~mmazur/linux-libc-headers
fi
return 0