CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Makefile update...
authorVictor Martinez <pitillo@ono.com>
Fri, 8 Apr 2011 19:23:27 +0000 (19:23 +0000)
committerVictor Martinez <pitillo@ono.com>
Fri, 8 Apr 2011 19:23:27 +0000 (19:23 +0000)
Makefile

index 887d8ae1136a03e4756c2c6cab0d83bd0f6192a7..fc0b07e65a6cfe814ed8218da9cf744d3ee0f90c 100644 (file)
--- 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)