X-Git-Url: http://gitweb/?a=blobdiff_plain;f=Makefile;h=7ba13af21cc8f1b1a7f529b6cd5f12be4c169b8e;hb=6ce4540ad664d90b7030aafe7b076c84add93d4f;hp=a0eecc775f729f08db5adb616452c632e688174b;hpb=c4082cf75bf60201988fb4d26141b553bb0cd3b1;p=kernel%2Fj72x.git diff --git a/Makefile b/Makefile index a0eecc7..7ba13af 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/crosstools +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.19-j72x_20100427 .PHONY: all clean image modules map config @@ -21,13 +19,12 @@ clean: image-clean modules-clean map-clean distclean: clean image-distclean modules-distclean map-distclean rm -vrf $(WORK)/linux-$(KERNEL_VERSION) -$(WORK)/linux-$(KERNEL_VERSION): config-$(KERNEL_VERSION) - git clone $(GIT_REPOSITORY) $(WORK)/linux-$(KERNEL_VERSION) - 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 && \ +$(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)