X-Git-Url: http://gitweb/?a=blobdiff_plain;f=Makefile;h=b9e15874f68e3485a6446ef80156661cce6a1453;hb=e744a3f17f456494e25803e0a2258aa593bfd503;hp=0edb4c8c7e690d753fc2d38654b12c1102124755;hpb=3778c1907fb983d116c5b06ee17f3c0368818bc5;p=kernel%2Fefikamx.git diff --git a/Makefile b/Makefile index 0edb4c8..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,14 +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 -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) @@ -44,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) && \ @@ -56,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