]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/commitdiff
Remove unused Makefile section
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 7 Nov 2014 14:37:07 +0000 (15:37 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 7 Nov 2014 14:37:07 +0000 (15:37 +0100)
Makefile

index 713a8a6940783937e5e3ececf64d7f85706cb636..6be686dbf6433418972b17cd84cda75764dafcf9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,16 +24,5 @@ clean:
 $(WORKSPACE):
        mkdir -p $(WORKSPACE)
 
-# Usage: $(call build_ccs,project directory) or
-#       $(call build_ccs,,project name) for project in current directory
-define build_ccs
-all: $(or $2,$(notdir $1))
-$(or $2,$(notdir $1)): $(WORKSPACE)
-       $(ECLIPSE) -noSplash -data $(WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(if $1,$(CURDIR)/$1,$(CURDIR))
-       $(ECLIPSE) -noSplash -data $(WORKSPACE) -application com.ti.ccstudio.apps.projectBuild -ccs.projects $(or $2,$(notdir $1))
-# Previous commands do not always return non-zero exit code on build failure - invoke make directly to not miss a potential error
-       $(MAKE) -C $(CURDIR)/$1/Debug all
-endef
-
 ccs-help: $(WORKSPACE)
        $(ECLIPSE) -noSplash -data $(WORKSPACE) -application com.ti.ccstudio.apps.projectBuild -ccs.help