summaryrefslogtreecommitdiffstats
path: root/package/linux/linux.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-10-21 22:16:29 +0000
committerEric Andersen <andersen@codepoet.org>2004-10-21 22:16:29 +0000
commite4d80d266d4e4fcfd0e30513a5b7f5c4c2f05613 (patch)
tree1707276ff5e65497c10ac6d43ce16dfd2e5e3084 /package/linux/linux.mk
parentc7c896649b416fae062021f33115ef061f3a533a (diff)
downloadbuildroot-novena-e4d80d266d4e4fcfd0e30513a5b7f5c4c2f05613.tar.gz
buildroot-novena-e4d80d266d4e4fcfd0e30513a5b7f5c4c2f05613.zip
Update linux kernel to the latest and greatest
Diffstat (limited to 'package/linux/linux.mk')
-rw-r--r--package/linux/linux.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/package/linux/linux.mk b/package/linux/linux.mk
index 0171b7e2a..afd098eb4 100644
--- a/package/linux/linux.mk
+++ b/package/linux/linux.mk
@@ -22,9 +22,9 @@
ifneq ($(filter $(TARGETS),linux),)
# Version of Linux to download and then apply patches to
-DOWNLOAD_LINUX_VERSION=2.4.26
+DOWNLOAD_LINUX_VERSION=2.4.27
# Version of Linux AFTER patches
-LINUX_VERSION=2.4.26-erik
+LINUX_VERSION=2.4.28-pre4-erik
LINUX_FORMAT=bzImage
#LINUX_FORMAT=images/zImage.prep
@@ -45,13 +45,12 @@ LINUX_SOURCE_DIR=$(LINUX_DIR)
$(DL_DIR)/$(LINUX_SOURCE):
- -mkdir $(DL_DIR)
+ -mkdir -p $(DL_DIR)
$(WGET) -P $(DL_DIR) $(LINUX_SITE)/$(LINUX_SOURCE)
$(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE)
- -mkdir $(TOOL_BUILD_DIR)
- #mkdir -p $(LINUX_DIR)
- #rm -rf $(LINUX_DIR)
+ -mkdir -p $(TOOL_BUILD_DIR)
+ -(cd $(TOOL_BUILD_DIR); ln -sf $(LINUX_DIR) linux)
bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
ifneq ($(DOWNLOAD_LINUX_VERSION),$(LINUX_VERSION))
# Rename the dir from the downloaded version to the AFTER patch version
@@ -59,7 +58,6 @@ ifneq ($(DOWNLOAD_LINUX_VERSION),$(LINUX_VERSION))
endif
mkdir -p package/linux/kernel-patches
toolchain/patch-kernel.sh $(LINUX_DIR) package/linux/kernel-patches
- -(cd $(TOOL_BUILD_DIR); ln -sf $(LINUX_DIR) linux)
touch $(LINUX_DIR)/.unpacked
$(LINUX_KCONFIG):