CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Makefile: restructure of needed/downloadable files to build kernel.img
authorVictor Martinez <pitillo@ono.com>
Wed, 12 Sep 2012 13:12:35 +0000 (13:12 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 12 Sep 2012 13:12:35 +0000 (13:12 +0000)
Makefile

index bab247a139a12e2126b31c2b42320d13cff08070..cee07f0d0c1759576ef8d142ea04793bd1771dea 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,10 @@ distclean: clean image-distclean modules-distclean map-distclean
 
 $(WORK)/linux-$(KERNEL_VERSION).tar.bz2:
        wget -P $(WORK) http://crux-arm.nu/files/distfiles/raspberrypi/linux-$(KERNEL_VERSION).tar.bz2
+       wget --no-check-certificate -P $(WORK) https://raw.github.com/raspberrypi/tools/master/mkimage/imagetool-uncompressed.py
+       wget --no-check-certificate -P $(WORK) https://github.com/raspberrypi/tools/raw/master/mkimage/first32k.bin
+       wget --no-check-certificate -P $(WORK) https://github.com/raspberrypi/tools/raw/master/mkimage/boot-uncompressed.txt
+       wget --no-check-certificate -P $(WORK) https://github.com/raspberrypi/tools/raw/master/mkimage/args-uncompressed.txt
 
 $(WORK)/linux-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 $(PWD)/config-$(KERNEL_VERSION)
        tar -C $(WORK) -xvjf $(WORK)/linux-$(KERNEL_VERSION).tar.bz2
@@ -36,10 +40,6 @@ $(WORK)/zImage-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION)
        touch $(WORK)/zImage-$(KERNEL_VERSION)
 
 $(WORK)/kernel.img: $(WORK)/zImage-$(KERNEL_VERSION)
-       wget --no-check-certificate -P $(WORK) https://raw.github.com/raspberrypi/tools/master/mkimage/imagetool-uncompressed.py
-       wget --no-check-certificate -P $(WORK) https://github.com/raspberrypi/tools/raw/master/mkimage/first32k.bin
-       wget --no-check-certificate -P $(WORK) https://github.com/raspberrypi/tools/raw/master/mkimage/boot-uncompressed.txt
-       wget --no-check-certificate -P $(WORK) https://github.com/raspberrypi/tools/raw/master/mkimage/args-uncompressed.txt
        cd $(WORK)/ && \
                python imagetool-uncompressed.py zImage-$(KERNEL_VERSION)