X-Git-Url: http://gitweb/?a=blobdiff_plain;f=Makefile;h=b9e15874f68e3485a6446ef80156661cce6a1453;hb=e744a3f17f456494e25803e0a2258aa593bfd503;hp=9684757998b8b92b5f70525d70de4c3a53550215;hpb=53c7660e8de0b666a1d37d7e1a4657385c6ec673;p=kernel%2Fefikamx.git diff --git a/Makefile b/Makefile index 9684757..b9e1587 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ PWD = $(shell pwd) WORK = $(PWD)/work CROSSTOOLS = $(PWD)/../../toolchain/crosstools -KERNEL_VERSION = 2.6.31.14.27-efikamx_20111026 +KERNEL_VERSION = 2.6.31.14.27-efikamx_20130723 .PHONY: all clean image modules map config @@ -18,13 +18,14 @@ clean: image-clean modules-clean map-clean distclean: clean image-distclean modules-distclean map-distclean -$(WORK)/linux-$(KERNEL_VERSION).tar.bz2: - wget -P $(WORK) http://crux-arm.nu/files/distfiles/efikamx/linux-$(KERNEL_VERSION).tar.bz2 +$(WORK)/linux-$(KERNEL_VERSION).tar.xz: + wget -P $(WORK) http://crux-arm.nu/files/distfiles/efikamx/linux-$(KERNEL_VERSION).tar.xz -$(WORK)/linux-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 $(PWD)/config-$(KERNEL_VERSION) - tar -C $(WORK) -xvjf $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 +$(WORK)/linux-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION).tar.xz $(PWD)/config-$(KERNEL_VERSION) + tar -C $(WORK) -xvf $(WORK)/linux-$(KERNEL_VERSION).tar.xz cd $(WORK) && \ - patch -p1 -i $(WORK)/Makefile_arm_unaligned.diff + sed -e 's|`whoami`|devel|' -e 's|`hostname .*`|crux-arm.nu|' -i linux-$(KERNEL_VERSION)/scripts/mkcompile_h && \ + sed 's|rt3070.bin rt2870.bin||g' -i linux-$(KERNEL_VERSION)/firmware/Makefile cp -v $(PWD)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION)/.config touch $(WORK)/linux-$(KERNEL_VERSION) @@ -43,7 +44,7 @@ image-clean: rm -vf $(WORK)/zImage-$(KERNEL_VERSION) image-distclean: image-clean - rm -vrf $(WORK)/linux-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 + rm -vrf $(WORK)/linux-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION).tar.xz $(WORK)/modules-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION) cd $(WORK)/linux-$(KERNEL_VERSION) && \ @@ -55,8 +56,8 @@ $(WORK)/modules-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION) touch $(WORK)/modules-$(KERNEL_VERSION) $(WORK)/modules-$(KERNEL_VERSION).tar.xz: $(WORK)/modules-$(KERNEL_VERSION) - cd $(WORK) && \ - tar cvJf modules-$(KERNEL_VERSION).tar.xz modules-$(KERNEL_VERSION) + cd $(WORK)/modules-$(KERNEL_VERSION) && \ + tar cvJf $(WORK)/modules-$(KERNEL_VERSION).tar.xz * touch $(WORK)/modules-$(KERNEL_VERSION).tar.xz modules: $(WORK)/modules-$(KERNEL_VERSION).tar.xz