]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blob - Makefile.ccs
Remove useless FreeRTOS versions
[pes-rpp/rpp-lib.git] / Makefile.ccs
1 # Copyright (C) 2013-2015 Czech Technical University in Prague
2 #
3 # Authors:
4 #     - Michal Sojka <sojkam1@fel.cvut.cz>
5 #
6 # This document contains proprietary information belonging to Czech
7 # Technical University in Prague. Passing on and copying of this
8 # document, and communication of its contents is not permitted
9 # without prior written authorization.
10 #
11 # File : Makefile.ccs
12 # Abstract:
13 #        This makefile tries to build the RPP library by invoking Code
14 #        Composer Studio from command line.
15 # Refs:
16 #        See http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create
17 #        and https://bugs.eclipse.org/bugs/show_bug.cgi?id=186847
18
19 all: lib
20
21 include common.mk
22
23 CCS_PROJECT = $(CURDIR)/build/tms570_hydctr
24
25 lib:
26         $(call rmdir,$(TMP_WORKSPACE))
27         $(call mkdir,$(TMP_WORKSPACE))
28         $(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(CCS_PROJECT)
29         $(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectBuild -ccs.projects rpp-lib
30 # Previous commands do not always return non-zero exit code on build failure - invoke make directly to not miss a potential error
31         $(MAKE) -C $(CCS_PROJECT)/Debug
32         $(call rmdir,$(TMP_WORKSPACE))