aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-03-19 22:51:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-03-19 22:51:51 +0000
commit79b24fb2234d071031cfa777b569e3b63fee107d (patch)
treed7118d7e311f3aca8ccfb84a032cfce91331ed51 /toolchain/kernel-headers
parent395698ec391b9aacacd52658f1073ef078af3bf1 (diff)
downloadmaster-187ad058-79b24fb2234d071031cfa777b569e3b63fee107d.tar.gz
master-187ad058-79b24fb2234d071031cfa777b569e3b63fee107d.tar.bz2
master-187ad058-79b24fb2234d071031cfa777b569e3b63fee107d.zip
add downloading script (with md5sum checking and sourceforge downloading support)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@391 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/kernel-headers.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk
index 9ef884ef4c..73a13cdcae 100644
--- a/toolchain/kernel-headers/kernel-headers.mk
+++ b/toolchain/kernel-headers/kernel-headers.mk
@@ -1,6 +1,7 @@
# linux kernel headers for toolchain
LINUX_HEADERS_VERSION=2.4.29
+LINUX_KERNEL_MD5SUM:=fcf8b6bb620467f27b657c1c4a60bbff
LINUX_HEADERS_SITE=http://www.kernel.org/pub/linux/kernel/v2.4
LINUX_HEADERS_SOURCE=linux-$(LINUX_HEADERS_VERSION).tar.bz2
LINUX_HEADERS_CONFIG=./linux.config
@@ -12,7 +13,7 @@ LINUX_HEADERS_ARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
$(DL_DIR)/$(LINUX_HEADERS_SOURCE):
-mkdir -p $(DL_DIR)
- $(WGET) -P $(DL_DIR) $(LINUX_HEADERS_SITE)/$(LINUX_HEADERS_SOURCE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_HEADERS_SOURCE) $(LINUX_KERNEL_MD5SUM) $(LINUX_HEADERS_SITE)
$(LINUX_HEADERS_DIR)/.unpacked: $(DL_DIR)/$(LINUX_HEADERS_SOURCE)
mkdir -p $(TOOL_BUILD_DIR)