CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Improved efikamx's stuff. Now using Makefile rules for patterns to create boot scripts
[bootloader.git] / Makefile
index 97cfddf3d429bf60e44db09b72640f8ced4b7b26..70d32060839eb16371cbbb7510ab4dfd60bd3f9a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,9 @@
 PWD  = $(shell pwd)
 WORK = $(PWD)/work
 
-UBOOT_VERSION = 2011.12
+UBOOT_VERSION = 2013.07
 
-.PHONY: all help mkimage clean dist-clean efikamx efikamx-clean efikamx-distclean
+.PHONY: all help mkimage clean distclean cubox cubox-clean cubox-distclean efikamx efikamx-clean efikamx-distclean
 
 all: help
 
@@ -16,13 +16,13 @@ help:
        @echo "Where targets available are:"
        @echo "  mkimage       Build mkimage binary for your host"
        @echo "  <device>      Where device specified should appear under"
-       @echo "                devices's dir as for example efikamx, wm8505, ..."
+       @echo "                devices's dir as for example: cubox, efikamx, ..."
        @echo "  clean         Remove generated files"
        @echo "  distclean     Remove generated files and temporary sources"
 
-clean: mkimage-clean efikamx-clean
+clean: mkimage-clean cubox-clean efikamx-clean
 
-distclean: mkimage-distclean efikamx-distclean
+distclean: mkimage-distclean cubox-distclean efikamx-distclean
 
 
 $(WORK)/u-boot-$(UBOOT_VERSION).tar.bz2:
@@ -45,6 +45,24 @@ mkimage-clean:
 mkimage-distclean: mkimage-clean
        rm -rf $(WORK)/u-boot-$(UBOOT_VERSION) $(WORK)/u-boot-$(UBOOT_VERSION).tar.bz2
 
+cubieboard: mkimage
+       make -C devices/cubieboard
+
+cubieboard-clean:
+       make -C devices/cubieboard clean
+
+cubieboard-distclean:
+       make -C devices/cubieboard distclean
+
+cubox: mkimage
+       make -C devices/cubox
+
+cubox-clean:
+       make -C devices/cubox clean
+
+cubox-distclean:
+       make -C devices/cubox distclean
+
 efikamx: mkimage
        make -C devices/efikamx