From 8498733b067e7ed27adf853eba2c185d60abfc6b Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 8 Apr 2011 19:23:27 +0000 Subject: [PATCH] Makefile update... --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 887d8ae..fc0b07e 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ TOPDIR = $(shell pwd) WORK = $(PWD)/work CROSSTOOLS = $(TOPDIR)/../../toolchain/crosstools -KERNEL_VERSION = 2.6.25-omap850_20100630 +KERNEL_VERSION = 2.6.25-omap850_20110407 .PHONY: all clean image modules map config @@ -21,15 +21,17 @@ distclean: clean image-distclean modules-distclean map-distclean $(WORK)/linux-$(KERNEL_VERSION).tar.bz2: wget -P $(WORK) http://crux-arm.nu/files/distfiles/linux-$(KERNEL_VERSION).tar.bz2 -$(WORK)/linux-$(KERNEL_VERSION): $(TOPDIR)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 +$(WORK)/linux-$(KERNEL_VERSION): $(TOPDIR)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 $(WORK)/linux-$(KERNEL_VERSION)-make3.82.patch tar -C $(WORK) -xvjf $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 cp -v $(TOPDIR)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION)/.config + patch -p0 -i $(WORK)/linux-$(KERNEL_VERSION)-make3.82.patch touch $(WORK)/linux-$(KERNEL_VERSION) $(WORK)/zImage-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION) cd $(WORK)/linux-$(KERNEL_VERSION) && \ export PATH=$(CROSSTOOLS)/bin:$$PATH && \ export LD_LIBRARY_PATH=$(CROSSTOOLS)/lib:$$LD_LIBRARY_PATH && \ + make ARCH=arm oldconfig && \ make ARCH=arm CROSS_COMPILE=$(TARGET)- zImage cp -v $(WORK)/linux-$(KERNEL_VERSION)/arch/arm/boot/zImage $(WORK)/zImage-$(KERNEL_VERSION) touch $(WORK)/zImage-$(KERNEL_VERSION) -- 2.26.2