CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Created work directory for efikamx device.
authorVictor Martinez <pitillo@ono.com>
Wed, 7 Mar 2012 18:46:27 +0000 (18:46 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 7 Mar 2012 18:46:27 +0000 (18:46 +0000)
devices/efikamx/Makefile

index 374405a528b3058d746b96c09fbf6dd3b4351f48..a9c7e56cae70f93b6c0d09d1134166df306feb38 100644 (file)
@@ -17,7 +17,10 @@ clean: uImage-clean bootscr-clean uInitrd-clean
 
 distclean: clean
 
-$(WORK)/uImage: $(MKIMAGE) $(ZIMAGE)
+$(WORK):
+       install -d $(WORK)
+
+$(WORK)/uImage: $(WORK) $(MKIMAGE) $(ZIMAGE)
        $(MKIMAGE) -A arm -O linux -a 0x90008000 -e 0x90008000 \
        -T kernel -C none -n "Linux-2.6.31.14.22-efikamx" \
        -d $(ZIMAGE) $(WORK)/uImage
@@ -27,7 +30,7 @@ uImage: $(WORK)/uImage
 uImage-clean:
        rm -f $(WORK)/uImage
 
-$(WORK)/boot.scr: $(MKIMAGE) $(BOOTSCRIPT)
+$(WORK)/boot.scr: $(WORK) $(MKIMAGE) $(BOOTSCRIPT)
        $(MKIMAGE) -A arm -O linux -a 0 -e 0 \
        -T script -C none -n "EfikaMX Boot Script" \
        -d $(BOOTSCRIPT) $(WORK)/boot.scr
@@ -37,7 +40,7 @@ bootscr: $(WORK)/boot.scr
 bootscr-clean:
        rm -f $(WORK)/boot.scr
 
-$(WORK)/uInitrd: $(MKIMAGE) $(INITRDGZ)
+$(WORK)/uInitrd: $(WORK) $(MKIMAGE) $(INITRDGZ)
        $(MKIMAGE) -A arm -O linux -a 0 -e 0 \
        -T ramdisk -C none -n "CRUX-ARM Initrd Image" \
        -d $(INITRDGZ) $(WORK)/uInitrd