]> rtime.felk.cvut.cz Git - arc.git/blobdiff - makefile
Added Linux "board" and made it possible to build without Kernel and EcuM.
[arc.git] / makefile
index ff96b9f31dbefdca67be6e2f35a22f1deddc3d17..75aebdf6bc826cc94e7300615087b4caeae94adc 100644 (file)
--- a/makefile
+++ b/makefile
@@ -108,9 +108,9 @@ cmd_cmd_goals := $(filter clean all,$(MAKECMDGOALS))
 \r
 # Check for CROSS_COMPILE\r
 ifneq ($(cmd_cmd_goals),)\r
-ifndef CROSS_COMPILE\r
-  $(error CROSS_COMPILE not defined)\r
-endif\r
+#ifndef CROSS_COMPILE\r
+#  $(error CROSS_COMPILE not defined)\r
+#endif\r
 \r
 # Check that the board actually exist\r
 ifdef BOARDDIR\r
@@ -158,6 +158,8 @@ clean_all:
        @find . -type f -name *.a | xargs rm -rf\r
        echo Done!\r
        \r
+config: $(dir_cmd_goals)       \r
+       \r
 clean: $(dir_cmd_goals)\r
        @echo "Clean:"\r
        @echo "  Removing objectfiles and libs for ARCH=$(ARCH)"\r