CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added files for CuBox device (requires testing)
[bootloader.git] / Makefile
index 97cfddf3d429bf60e44db09b72640f8ced4b7b26..eae697c51a18781711b486016746cbbb3c1e757e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ WORK = $(PWD)/work
 
 UBOOT_VERSION = 2011.12
 
-.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,15 @@ mkimage-clean:
 mkimage-distclean: mkimage-clean
        rm -rf $(WORK)/u-boot-$(UBOOT_VERSION) $(WORK)/u-boot-$(UBOOT_VERSION).tar.bz2
 
+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