From 23717991b4d180e341bcf285828b1f3af4ac4098 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 30 Jun 2010 12:29:52 +0000 Subject: [PATCH] Added Makefile. --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index c04fc8c..887d8ae 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,7 @@ TOPDIR = $(shell pwd) WORK = $(PWD)/work CROSSTOOLS = $(TOPDIR)/../../toolchain/crosstools -GIT_REPOSITORY = git://wing-linux.git.sourceforge.net/gitroot/wing-linux/kernel -KERNEL_VERSION = 2.6.25-omap850 +KERNEL_VERSION = 2.6.25-omap850_20100630 .PHONY: all clean image modules map config @@ -19,11 +18,12 @@ clean: image-clean modules-clean map-clean distclean: clean image-distclean modules-distclean map-distclean -$(WORK)/linux-$(KERNEL_VERSION): config-$(KERNEL_VERSION) - git clone $(GIT_REPOSITORY) $(WORK)/linux-$(KERNEL_VERSION) - cd $(WORK)/linux-$(KERNEL_VERSION) && \ - make mrproper && \ - cp -v $(TOPDIR)/config-$(KERNEL_VERSION) .config && \ +$(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 + tar -C $(WORK) -xvjf $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 + cp -v $(TOPDIR)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION)/.config touch $(WORK)/linux-$(KERNEL_VERSION) $(WORK)/zImage-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION) -- 2.26.2