]> rtime.felk.cvut.cz Git - pes-rpp/rpp-simulink.git/commitdiff
Makefile: Require specifying release target
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 4 Jul 2015 11:38:32 +0000 (13:38 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 4 Jul 2015 11:38:32 +0000 (13:38 +0200)
Makefile

index 216a316423d783e0816f90e46052b50199b4d2e4..3851d72a95e452d1c1f57414375fb2c9a96ddbd1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,12 @@ release: $(RELEASE_BASENAME).zip
        cp doc/test-sw/$(shell make -C doc/test-sw --silent print-release-basename).zip .
        cp doc/rpp_simulink.pdf rpp_simulink-$(RELEASE_VERSION).pdf
 
-RELEASE_TARGET ?= tms570_hydctr
+
+ifneq ($(RELEASE_TARGET),)
 include rpp/lib/build/$(RELEASE_TARGET)/Makefile.config
+endif
+
+RELEASE_TARGET = $(error Please set RELEASE_TARGET variable on command line)
 
 RELEASE_LIB_GIT_FILES = \
        Makefile.var \