]> rtime.felk.cvut.cz Git - pes-rpp/rpp-simulink.git/commitdiff
Do not fail in rpp_build_demos on Windows
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 17 Nov 2014 21:06:52 +0000 (22:06 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 17 Nov 2014 21:06:52 +0000 (22:06 +0100)
rpp/rpp/target_tools.mk

index 6c57efae8a6675eca2ec832f82191dae37a2054f..a8772896d527d632db4d39a7f601cd06bebffd72 100644 (file)
@@ -81,7 +81,11 @@ AR               = "$(COMPILER_ROOT)/bin/armar"
 ARFLAGS          = -r
 
 # Binary file format converter command and options
+ifeq ($(OS),Windows_NT)
+OBJCOPY          = copy
+else
 OBJCOPY          = cp
+endif
 OBJCOPYFLAGS     =
 
 # Specify the output extension from compiler