X-Git-Url: http://gitweb/?a=blobdiff_plain;f=Makefile;h=887d8ae1136a03e4756c2c6cab0d83bd0f6192a7;hb=dddda60ce0c739e8197b95d22426441c52fb812e;hp=bf06878e664e3722ae15fd1937cb25d967ff1f4b;hpb=1a92bd7ef2bd7f3c0de91d394475ca045cc23b4f;p=kernel%2Fomap850.git diff --git a/Makefile b/Makefile index bf06878..887d8ae 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,14 @@ # # omap850/Makefile # -# cp -v $(TOPDIR)/config-$(KERNEL_VERSION) .config -TARGET = arm-unknown-linux-gnu -# Target device -DEVICE= +TARGET = arm-crux-linux-gnueabi 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 @@ -22,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) && \ - cp -v $(TOPDIR)/config-$(KERNEL_VERSION) .config && \ - make mrproper && \ +$(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)