X-Git-Url: http://gitweb/?a=blobdiff_plain;f=Makefile;h=00152277997e1d085e9a3b2e618e49b5953f25e1;hb=f39c9488931eb3fda77cc1fba391008bd96a0ddd;hp=2ff7501c26437fdd50cd89ccbe1943dc52449ce9;hpb=bbf92e749e7a3e4edac2889650aa835ae309c242;p=kernel%2Fversatile.git diff --git a/Makefile b/Makefile index 2ff7501..0015227 100644 --- a/Makefile +++ b/Makefile @@ -2,15 +2,13 @@ # src/kernel/Makefile # -TARGET = arm-unknown-linux-gnu +TARGET = arm-crux-linux-gnu TOPDIR = $(shell pwd) WORK = $(PWD)/work CROSSTOOLS = $(TOPDIR)/../../toolchain-noeabi/crosstools -GIT_REPOSITORY = git://git.kernel.org/pub/scm/linux/kernel/git/kristoffer/linux-hpc.git -KERNEL_VERSION = 2.6.19 -BRANCH_VERSION = $(KERNEL_VERSION)-hpc +KERNEL_VERSION = 2.6.30.5 .PHONY: all clean image modules map config @@ -20,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) +$(WORK)/linux-$(KERNEL_VERSION).tar.bz2: + wget -P $(WORK) ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$(KERNEL_VERSION).tar.bz2 + +$(WORK)/linux-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 config-$(KERNEL_VERSION) + tar -C $(WORK) -xvjf $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 cd $(WORK)/linux-$(KERNEL_VERSION) && \ - git checkout --track -b v$(BRANCH_VERSION) origin/v$(BRANCH_VERSION) && \ - git checkout v$(BRANCH_VERSION) && \ make mrproper && \ cp -v $(TOPDIR)/config-$(KERNEL_VERSION) .config && \ touch $(WORK)/linux-$(KERNEL_VERSION)