aboutsummaryrefslogtreecommitdiff
path: root/target/device/jp/q5/linux.mk
diff options
context:
space:
mode:
authorGravatar David Anders <dave123@abcsinc.com>2006-02-10 18:00:56 +0000
committerGravatar David Anders <dave123@abcsinc.com>2006-02-10 18:00:56 +0000
commit88671dd3586caaac97d091f7faef63fb44757d55 (patch)
treec2d7929a9e3f7c847fb53beff9c7fa13ee28d3d5 /target/device/jp/q5/linux.mk
parent32fa323b895141e70e705ac6791e62c7376289bc (diff)
downloadbuildroot-88671dd3586caaac97d091f7faef63fb44757d55.tar.gz
buildroot-88671dd3586caaac97d091f7faef63fb44757d55.tar.bz2
add linux-2.4.32 kernel support for the q5 board per case 0000715
Diffstat (limited to 'target/device/jp/q5/linux.mk')
-rw-r--r--target/device/jp/q5/linux.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/device/jp/q5/linux.mk b/target/device/jp/q5/linux.mk
index 32b8c3d074..127db1ae9a 100644
--- a/target/device/jp/q5/linux.mk
+++ b/target/device/jp/q5/linux.mk
@@ -22,7 +22,7 @@
ifneq ($(filter $(TARGETS),linux),)
# Base version of Linux kernel that we need to download
-DOWNLOAD_LINUX_VERSION=2.4.26
+DOWNLOAD_LINUX_VERSION=2.4.32
# Version of Linux kernel AFTER applying all patches
LINUX_VERSION=$(DOWNLOAD_LINUX_VERSION)-q5
@@ -53,7 +53,6 @@ LINUX_SITE=http://www.kernel.org/pub/linux/kernel/v2.4
# Used by pcmcia-cs and others
LINUX_SOURCE_DIR=$(LINUX_DIR)
-
$(DL_DIR)/$(LINUX_SOURCE):
-mkdir -p $(DL_DIR)
$(WGET) -P $(DL_DIR) $(LINUX_SITE)/$(LINUX_SOURCE)
@@ -67,6 +66,8 @@ ifneq ($(DOWNLOAD_LINUX_VERSION),$(LINUX_VERSION))
mv -f $(BUILD_DIR)/linux-$(DOWNLOAD_LINUX_VERSION) $(BUILD_DIR)/linux-$(LINUX_VERSION)
endif
toolchain/patch-kernel.sh $(LINUX_DIR) $(LINUX_PATCH_DIR)
+ #New versions of binutils does not have -mcpu, but -mtune. -march is not needed because -mips2 is used
+ mv $(LINUX_DIR)/arch/mips/Makefile $(LINUX_DIR)/arch/mips/Makefile.org && sed 's/-mcpu/-mtune/g' < $(LINUX_DIR)/arch/mips/Makefile.org > $(LINUX_DIR)/arch/mips/Makefile
touch $(LINUX_DIR)/.unpacked
$(LINUX_KCONFIG):