RELEASE_PREFIX = rpp-test-sw
include rpp-lib/common.mk
+TARGET ?= $(error TARGET variable not defined)
+
rpp-test-sw: $(TMP_WORKSPACE)
$(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(CURDIR)/rpp-test-sw
- $(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(CURDIR)/rpp-lib/build/tms570_hdk
+ $(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(CURDIR)/rpp-lib/build/$(TARGET)
$(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectBuild -ccs.projects rpp-test-sw
# 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)/rpp-test-sw/Debug all
release: $(RELEASE_BASENAME).zip
-RELEASE_TARGET ?= tms570_hdk
-include rpp-lib/build/$(RELEASE_TARGET)/Makefile.config
+RELEASE_TARGET = $(TARGET)
RELEASE_LIB_GIT_FILES = \
Makefile.var \