X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-lib.git/blobdiff_plain/cf2ac7db94ba4bd081289e94af42cc573253a554..cc2ca82b4245bfb8eeecd7585cc7abd16d35ea8d:/Makefile.ccs diff --git a/Makefile.ccs b/Makefile.ccs index 7d4f083..4495661 100644 --- a/Makefile.ccs +++ b/Makefile.ccs @@ -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 +# +# 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))