]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - Makefile.ccs
Increase stack memory of RX and TX thread
[pes-rpp/rpp-lib.git] / Makefile.ccs
index 7d4f083cab1a62b8eac33ae20dcf89f01679e1ef..4495661a04e43f86fb436372a19774befdc012e2 100644 (file)
@@ -1,18 +1,32 @@
-# This makefile tries to build the RPP library by invoking Code
-# Composer Studio from command line.
+# Copyright (C) 2013-2015 Czech Technical University in Prague
 #
-# See http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create
-# and https://bugs.eclipse.org/bugs/show_bug.cgi?id=186847
+# Authors:
+#     - Michal Sojka <sojkam1@fel.cvut.cz>
+#
+# This document contains proprietary information belonging to Czech
+# Technical University in Prague. Passing on and copying of this
+# document, and communication of its contents is not permitted
+# without prior written authorization.
+#
+# File : Makefile.ccs
+# Abstract:
+#       This makefile tries to build the RPP library by invoking Code
+#       Composer Studio from command line.
+# Refs:
+#       See http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create
+#       and https://bugs.eclipse.org/bugs/show_bug.cgi?id=186847
 
 all: lib
 
 include common.mk
 
+CCS_PROJECT = $(CURDIR)/build/tms570_hydctr
+
 lib:
        $(call rmdir,$(TMP_WORKSPACE))
        $(call mkdir,$(TMP_WORKSPACE))
-       $(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(CURDIR)
+       $(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(CCS_PROJECT)
        $(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectBuild -ccs.projects rpp-lib
 # Previous commands do not always return non-zero exit code on build failure - invoke make directly to not miss a potential error
-       $(MAKE) -f Makefile lib
+       $(MAKE) -C $(CCS_PROJECT)/Debug
        $(call rmdir,$(TMP_WORKSPACE))