]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/commitdiff
Reformat makefile
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 24 Jul 2014 12:12:39 +0000 (14:12 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 24 Jul 2014 12:17:33 +0000 (14:17 +0200)
rpp/rpp/target_tools.mk

index 2b64352865c9bc7e8bc69b11b3307144a677aa1d..c02d2530b614a0ed8b63887dad37e34695bc7136 100644 (file)
@@ -33,14 +33,15 @@ TARGET_SRCS      =
 
 # Compiler command and options
 CC      = "$(COMPILER_ROOT)/bin/armcl"
-CFLAGS  = -mv7R4 --code_state=32 --float_support=VFPv3D16 \
-          --abi=eabi --compile_only -O2 --gcc --diag_wrap=on \
-          --diag_warning=225 --display_error_number --enum_type=packed --gen_func_subsections \
-          --include_path="$(RPP_LIB_ROOT)/rpp/include" \
-          --include_path="$(RPP_LIB_ROOT)/lwip/src/include" \
-          --include_path="$(RPP_LIB_ROOT)/lwip/src/include/ipv4" \
-          --include_path="$(RPP_LIB_ROOT)/lwip/src/include/ipv6" \
-          --include_path="$(RPP_OS_LAYER_INC)" \
+CFLAGS  = -mv7R4 --code_state=32 --float_support=VFPv3D16               \
+          --abi=eabi --compile_only -O2 --gcc --diag_wrap=on            \
+          --diag_warning=225 --display_error_number                     \
+          --enum_type=packed --gen_func_subsections                     \
+          --include_path="$(RPP_LIB_ROOT)/rpp/include"                  \
+          --include_path="$(RPP_LIB_ROOT)/lwip/src/include"             \
+          --include_path="$(RPP_LIB_ROOT)/lwip/src/include/ipv4"        \
+          --include_path="$(RPP_LIB_ROOT)/lwip/src/include/ipv6"        \
+          --include_path="$(RPP_OS_LAYER_INC)"                          \
           --include_path="$(COMPILER_ROOT)/include"
 
 # Define when external mode should wait for host connection
@@ -57,18 +58,19 @@ CXXDEBUG         =
 
 # Linker command and options
 LD      = $(CC)
-LDFLAGS = -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi \
-          -O2 --diag_warning=225 --display_error_number --enum_type=packed \
-          --run_linker -m"$(MODEL).map" --be32 --diag_wrap=on \
-          --stack_size=$(RPP_STACK_SIZE) --heap_size=$(RPP_HEAP_SIZE) \
-          --reread_libs --warn_sections --display_error_number --rom_model \
-          --search_path="$(RPP_LIB_ROOT)" \
-          --library="$(RPP_STATIC_LIB)" \
-          --retain="$(RPP_STATIC_LIB)<sys_intvecs.obj>(.intvecs)" \
-          --search_path="$(COMPILER_ROOT)/lib" \
-          --library="rtsv7R4_T_be_v3D16_eabi.lib" \
-          "$(RPP_LIB_ROOT)/rpp/TMS570LS313xFlashLnk.cmd" \
-                 --generate_dead_funcs_list=$(MODEL)-deadfuncs.xml
+LDFLAGS = -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi    \
+          -O2 --diag_warning=225 --display_error_number                 \
+          --enum_type=packed --run_linker -m"$(MODEL).map" --be32       \
+          --diag_wrap=on --stack_size=$(RPP_STACK_SIZE)                 \
+          --heap_size=$(RPP_HEAP_SIZE) --reread_libs --warn_sections    \
+          --display_error_number --rom_model                            \
+          --search_path="$(RPP_LIB_ROOT)"                               \
+          --library="$(RPP_STATIC_LIB)"                                 \
+          --retain="$(RPP_STATIC_LIB)<sys_intvecs.obj>(.intvecs)"       \
+          --search_path="$(COMPILER_ROOT)/lib"                          \
+          --library="rtsv7R4_T_be_v3D16_eabi.lib"                       \
+          "$(RPP_LIB_ROOT)/rpp/TMS570LS313xFlashLnk.cmd"                \
+          --generate_dead_funcs_list=$(MODEL)-deadfuncs.xml
 
 LDDEBUG          = -g
 LDOUTPUTFLAG     = --output_file=