CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Removed oabi support and ddded /proc/config.gz support.
[kernel/omap850.git] / Makefile
index bf06878e664e3722ae15fd1937cb25d967ff1f4b..887d8ae1136a03e4756c2c6cab0d83bd0f6192a7 100644 (file)
--- 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)