lpc32xxcdl-2.11-slashes.patch 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521
  1. Use slashes instead of backslashes
  2. Signed-off-by: Alexandre Belloni <abelloni@adeneo-embedded.com>
  3. ---
  4. .../bsps/common/examples/buildfiles/makefile | 10 +++---
  5. .../startup/examples/burners/makefile.burner | 16 +++++-----
  6. csps/lpc32xx/bsps/ea3250/source/makefile | 10 +++---
  7. csps/lpc32xx/bsps/fdi3250/source/makefile | 12 ++++----
  8. csps/lpc32xx/bsps/phy3250/examples/makefile | 2 +-
  9. csps/lpc32xx/bsps/phy3250/source/makefile | 2 +-
  10. .../examples/Burners/nor/kickstart/makefile | 2 +-
  11. .../startup/examples/Burners/nor/norerase/makefile | 2 +-
  12. .../startup/examples/Burners/nor/s1lapp/makefile | 2 +-
  13. .../examples/Burners/spi/kickstart/makefile | 2 +-
  14. csps/lpc32xx/source/makefile | 10 +++---
  15. lpc/source/makefile | 10 +++---
  16. makefile | 2 +-
  17. makerule/common/make.rules.environment | 30 ++++++++++----------
  18. makerule/lpc32xx/make.lpc32xx.gnu | 2 +-
  19. makerule/lpc32xx/make.lpc32xx.iar | 12 ++++----
  20. makerule/lpc32xx/make.lpc32xx.keil | 6 ++--
  21. makerule/lpc32xx/make.lpc32xx.rvw | 2 +-
  22. 18 files changed, 67 insertions(+), 67 deletions(-)
  23. diff --git a/csps/lpc32xx/bsps/common/examples/buildfiles/makefile b/csps/lpc32xx/bsps/common/examples/buildfiles/makefile
  24. index cf4977c..1da2201 100644
  25. --- a/csps/lpc32xx/bsps/common/examples/buildfiles/makefile
  26. +++ b/csps/lpc32xx/bsps/common/examples/buildfiles/makefile
  27. @@ -25,16 +25,16 @@
  28. #
  29. ########################################################################
  30. -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
  31. +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
  32. ########################################################################
  33. #
  34. # Pick up the assembler and C source files in the directory
  35. #
  36. ########################################################################
  37. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
  38. -AFLAGS +=-I..\Include
  39. -CFLAGS +=-I..\Include
  40. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
  41. +AFLAGS +=-I../Include
  42. +CFLAGS +=-I../Include
  43. ########################################################################
  44. #
  45. @@ -42,6 +42,6 @@ CFLAGS +=-I..\Include
  46. #
  47. ########################################################################
  48. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
  49. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
  50. diff --git a/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner b/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner
  51. index fca3947..18bd703 100644
  52. --- a/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner
  53. +++ b/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner
  54. @@ -22,9 +22,9 @@
  55. #
  56. ########################################################################
  57. -COMMON_BASE := $(NXPMCU_SOFTWARE)\csps\$(CSP)\bsps\common
  58. -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
  59. -include $(COMMON_BASE)\startup\examples\buildfiles\make.env
  60. +COMMON_BASE := $(NXPMCU_SOFTWARE)/csps/$(CSP)/bsps/common
  61. +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
  62. +include $(COMMON_BASE)/startup/examples/buildfiles/make.env
  63. ########################################################################
  64. # ARM Realview
  65. @@ -38,7 +38,7 @@ AFLAGS += --predefine "USE_ALL_STACKS SETL {TRUE}"
  66. #AFLAGS += --predefine "RW_RELOC SETL {TRUE}"
  67. # This runs from IRAM
  68. -LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_rvw.ld
  69. +LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_rvw.ld
  70. LDFLAGS = --remove
  71. MAP = --map --info=totals,sizes,unused --symbols --list
  72. endif
  73. @@ -55,7 +55,7 @@ AFLAGS += --predefine "USE_ALL_STACKS SETL {TRUE}"
  74. #AFLAGS += --predefine "RW_RELOC SETL {TRUE}"
  75. # This runs from IRAM
  76. -LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_rvw.ld
  77. +LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_rvw.ld
  78. LDFLAGS = --remove
  79. MAP = --map --info=totals,sizes,unused --symbols --list
  80. endif
  81. @@ -72,7 +72,7 @@ AFLAGS += --defsym USE_ALL_STACKS=1
  82. #AFLAGS += --defsym RW_RELOC=1
  83. # This runs from IRAM
  84. -LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_gnu.ld
  85. +LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_gnu.ld
  86. endif
  87. @@ -108,7 +108,7 @@ endif
  88. # Pick up the assembler and C source files in the directory
  89. #
  90. ########################################################################
  91. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
  92. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
  93. ########################################################################
  94. #
  95. @@ -157,6 +157,6 @@ endif
  96. #
  97. ########################################################################
  98. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
  99. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
  100. .PHONY: debug bin
  101. diff --git a/csps/lpc32xx/bsps/ea3250/source/makefile b/csps/lpc32xx/bsps/ea3250/source/makefile
  102. index 7cada25..2899b20 100644
  103. --- a/csps/lpc32xx/bsps/ea3250/source/makefile
  104. +++ b/csps/lpc32xx/bsps/ea3250/source/makefile
  105. @@ -22,16 +22,16 @@
  106. #
  107. ########################################################################
  108. -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
  109. +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
  110. ########################################################################
  111. #
  112. # Pick up the assembler and C source files in the directory
  113. #
  114. ########################################################################
  115. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
  116. -AFLAGS +=-I..\Include
  117. -CFLAGS +=-I..\Include
  118. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
  119. +AFLAGS +=-I../Include
  120. +CFLAGS +=-I../Include
  121. ########################################################################
  122. #
  123. @@ -64,7 +64,7 @@ realclean: lib_realclean
  124. #
  125. ########################################################################
  126. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
  127. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
  128. .PHONY: all lib_clean lib_realclean
  129. diff --git a/csps/lpc32xx/bsps/fdi3250/source/makefile b/csps/lpc32xx/bsps/fdi3250/source/makefile
  130. index 4e153bb..11e4b63 100644
  131. --- a/csps/lpc32xx/bsps/fdi3250/source/makefile
  132. +++ b/csps/lpc32xx/bsps/fdi3250/source/makefile
  133. @@ -22,16 +22,16 @@
  134. #
  135. ########################################################################
  136. -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
  137. +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
  138. ########################################################################
  139. #
  140. # Pick up the assembler and C source files in the directory
  141. #
  142. ########################################################################
  143. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
  144. -AFLAGS +=-I..\Include
  145. -CFLAGS +=-I..\Include
  146. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
  147. +AFLAGS +=-I../Include
  148. +CFLAGS +=-I../Include
  149. ########################################################################
  150. #
  151. @@ -53,7 +53,7 @@ lib_clean:
  152. # delete all targets this Makefile can make and all built libraries
  153. # linked in
  154. lib_realclean:
  155. - -@$(RM) $(BSP_LIB_DIR)\*.a
  156. + -@$(RM) $(BSP_LIB_DIR)/*.a
  157. -@$(RMDIR) $(BSP_LIB_DIR)
  158. clean: lib_clean
  159. @@ -65,7 +65,7 @@ realclean: lib_realclean
  160. #
  161. ########################################################################
  162. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
  163. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
  164. .PHONY: all lib_clean lib_realclean
  165. diff --git a/csps/lpc32xx/bsps/phy3250/examples/makefile b/csps/lpc32xx/bsps/phy3250/examples/makefile
  166. index b939252..e7feaa6 100644
  167. --- a/csps/lpc32xx/bsps/phy3250/examples/makefile
  168. +++ b/csps/lpc32xx/bsps/phy3250/examples/makefile
  169. @@ -25,7 +25,7 @@
  170. #
  171. ########################################################################
  172. -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
  173. +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
  174. SUBDIRS = adc dram_self_refresh hstimer hsuart i2c kscan lcd_colorbars
  175. SUBDIRS += lcd_tsc mi2c mstimer pwm pwm_simple rtc sdcard sdcard_dma
  176. diff --git a/csps/lpc32xx/bsps/phy3250/source/makefile b/csps/lpc32xx/bsps/phy3250/source/makefile
  177. index 7c48e7d..750b776 100644
  178. --- a/csps/lpc32xx/bsps/phy3250/source/makefile
  179. +++ b/csps/lpc32xx/bsps/phy3250/source/makefile
  180. @@ -32,7 +32,7 @@ include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
  181. # Pick up the assembler and C source files in the directory
  182. #
  183. ########################################################################
  184. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
  185. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
  186. AFLAGS +=-I../Include
  187. CFLAGS +=-I../Include
  188. diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile
  189. index 01e2b38..526d6cc 100644
  190. --- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile
  191. +++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile
  192. @@ -78,7 +78,7 @@ endif
  193. ########################################################################
  194. #
  195. -# Compiler\linker specific stuff
  196. +# Compiler/linker specific stuff
  197. #
  198. ########################################################################
  199. diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile
  200. index ce329f5..e81b8db 100644
  201. --- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile
  202. +++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile
  203. @@ -77,7 +77,7 @@ endif
  204. ########################################################################
  205. #
  206. -# Compiler\linker specific stuff
  207. +# Compiler/linker specific stuff
  208. #
  209. ########################################################################
  210. diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile
  211. index 4426fc7..196faec 100644
  212. --- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile
  213. +++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile
  214. @@ -77,7 +77,7 @@ endif
  215. ########################################################################
  216. #
  217. -# Compiler\linker specific stuff
  218. +# Compiler/linker specific stuff
  219. #
  220. ########################################################################
  221. diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile
  222. index dc73b64..39fc304 100644
  223. --- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile
  224. +++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile
  225. @@ -78,7 +78,7 @@ endif
  226. ########################################################################
  227. #
  228. -# Compiler\linker specific stuff
  229. +# Compiler/linker specific stuff
  230. #
  231. ########################################################################
  232. diff --git a/csps/lpc32xx/source/makefile b/csps/lpc32xx/source/makefile
  233. index 8e05456..16bd944 100644
  234. --- a/csps/lpc32xx/source/makefile
  235. +++ b/csps/lpc32xx/source/makefile
  236. @@ -25,16 +25,16 @@
  237. #
  238. ########################################################################
  239. -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
  240. +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
  241. ########################################################################
  242. #
  243. # Pick up the assembler and C source files in the directory
  244. #
  245. ########################################################################
  246. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
  247. -AFLAGS +=-I..\Include
  248. -CFLAGS +=-I..\Include
  249. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
  250. +AFLAGS +=-I../Include
  251. +CFLAGS +=-I../Include
  252. ########################################################################
  253. @@ -68,7 +68,7 @@ realclean: lib_realclean
  254. #
  255. ########################################################################
  256. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
  257. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
  258. .PHONY: all lib_clean lib_realclean
  259. diff --git a/lpc/source/makefile b/lpc/source/makefile
  260. index 2860db9..ae7d612 100644
  261. --- a/lpc/source/makefile
  262. +++ b/lpc/source/makefile
  263. @@ -25,16 +25,16 @@
  264. #
  265. ########################################################################
  266. -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
  267. +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
  268. ########################################################################
  269. #
  270. # Pick up the assembler and C source files in the directory
  271. #
  272. ########################################################################
  273. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
  274. -AFLAGS +=-I..\Include
  275. -CFLAGS +=-I..\Include
  276. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
  277. +AFLAGS +=-I../Include
  278. +CFLAGS +=-I../Include
  279. ########################################################################
  280. #
  281. @@ -67,7 +67,7 @@ realclean: lib_realclean
  282. #
  283. ########################################################################
  284. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
  285. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
  286. .PHONY: all lib_clean lib_realclean
  287. diff --git a/makefile b/makefile
  288. index 8645fcc..86fa6bc 100644
  289. --- a/makefile
  290. +++ b/makefile
  291. @@ -34,7 +34,7 @@ TARGETS_CLN =gen_clean csp_clean bsp_clean
  292. #
  293. ########################################################################
  294. -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
  295. +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
  296. ########################################################################
  297. #
  298. diff --git a/makerule/common/make.rules.environment b/makerule/common/make.rules.environment
  299. index d5737fe..4e6df48 100644
  300. --- a/makerule/common/make.rules.environment
  301. +++ b/makerule/common/make.rules.environment
  302. @@ -52,7 +52,7 @@ ASTYLE =astyle --options=$(BUILD_ROOT)/tools/astyle.cfg
  303. #
  304. ########################################################################
  305. -CSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\lib
  306. +CSP_LIB_DIR =$(BUILD_ROOT)/csps/$(CSP)/lib
  307. ########################################################################
  308. #
  309. @@ -60,7 +60,7 @@ CSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\lib
  310. #
  311. ########################################################################
  312. -BSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\bsps\$(BSP)\lib
  313. +BSP_LIB_DIR =$(BUILD_ROOT)/csps/$(CSP)/bsps/$(BSP)/lib
  314. ########################################################################
  315. #
  316. @@ -68,7 +68,7 @@ BSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\bsps\$(BSP)\lib
  317. #
  318. ########################################################################
  319. -GEN_LIB_DIR =$(BUILD_ROOT)\$(GEN)\lib
  320. +GEN_LIB_DIR =$(BUILD_ROOT)/$(GEN)/lib
  321. ########################################################################
  322. #
  323. @@ -76,9 +76,9 @@ GEN_LIB_DIR =$(BUILD_ROOT)\$(GEN)\lib
  324. #
  325. ########################################################################
  326. -CSP_DIR =$(BUILD_ROOT)\csps\$(CSP)
  327. -CSP_SRC_DIR =$(CSP_DIR)\source
  328. -CSP_INC_DIR =$(CSP_DIR)\include
  329. +CSP_DIR =$(BUILD_ROOT)/csps/$(CSP)
  330. +CSP_SRC_DIR =$(CSP_DIR)/source
  331. +CSP_INC_DIR =$(CSP_DIR)/include
  332. ########################################################################
  333. #
  334. @@ -86,9 +86,9 @@ CSP_INC_DIR =$(CSP_DIR)\include
  335. #
  336. ########################################################################
  337. -BSP_DIR =$(BUILD_ROOT)\csps\$(CSP)\bsps\$(BSP)
  338. -BSP_SRC_DIR =$(BSP_DIR)\source
  339. -BSP_INC_DIR =$(BSP_DIR)\include
  340. +BSP_DIR =$(BUILD_ROOT)/csps/$(CSP)/bsps/$(BSP)
  341. +BSP_SRC_DIR =$(BSP_DIR)/source
  342. +BSP_INC_DIR =$(BSP_DIR)/include
  343. ########################################################################
  344. #
  345. @@ -96,9 +96,9 @@ BSP_INC_DIR =$(BSP_DIR)\include
  346. #
  347. ########################################################################
  348. -GEN_DIR =$(BUILD_ROOT)\$(GEN)
  349. -GEN_SRC_DIR =$(GEN_DIR)\source
  350. -GEN_INC_DIR =$(GEN_DIR)\include
  351. +GEN_DIR =$(BUILD_ROOT)/$(GEN)
  352. +GEN_SRC_DIR =$(GEN_DIR)/source
  353. +GEN_INC_DIR =$(GEN_DIR)/include
  354. ########################################################################
  355. #
  356. @@ -151,6 +151,6 @@ endif
  357. #
  358. ########################################################################
  359. -TARGET_CSP_LIB =$(CSP_LIB_DIR)\$(CSP_ARCHIVE)
  360. -TARGET_BSP_LIB =$(BSP_LIB_DIR)\$(BSP_ARCHIVE)
  361. -TARGET_GEN_LIB =$(GEN_LIB_DIR)\$(GEN_ARCHIVE)
  362. +TARGET_CSP_LIB =$(CSP_LIB_DIR)/$(CSP_ARCHIVE)
  363. +TARGET_BSP_LIB =$(BSP_LIB_DIR)/$(BSP_ARCHIVE)
  364. +TARGET_GEN_LIB =$(GEN_LIB_DIR)/$(GEN_ARCHIVE)
  365. diff --git a/makerule/lpc32xx/make.lpc32xx.gnu b/makerule/lpc32xx/make.lpc32xx.gnu
  366. index 3277d99..d80b98d 100644
  367. --- a/makerule/lpc32xx/make.lpc32xx.gnu
  368. +++ b/makerule/lpc32xx/make.lpc32xx.gnu
  369. @@ -19,7 +19,7 @@
  370. # use without further testing or modification.
  371. ########################################################################
  372. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
  373. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment
  374. CPU = arm926ej-s
  375. CFLAGS = -mcpu=arm926ej-s -Wall -Os
  376. diff --git a/makerule/lpc32xx/make.lpc32xx.iar b/makerule/lpc32xx/make.lpc32xx.iar
  377. index 238ebbf..27d163f 100644
  378. --- a/makerule/lpc32xx/make.lpc32xx.iar
  379. +++ b/makerule/lpc32xx/make.lpc32xx.iar
  380. @@ -19,12 +19,12 @@
  381. # use without further testing or modification.
  382. ########################################################################
  383. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
  384. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment
  385. -IARBASE = $(IAR_ROOT)\ARM
  386. -IARTOOLS = $(IARBASE)\bin
  387. -IAR_LIB = $(IARBASE)\lib
  388. -IAR_INC = $(IARBASE)\inc
  389. +IARBASE = $(IAR_ROOT)/ARM
  390. +IARTOOLS = $(IARBASE)/bin
  391. +IAR_LIB = $(IARBASE)/lib
  392. +IAR_INC = $(IARBASE)/inc
  393. CC = iccarm
  394. CCP = iccarm
  395. AS = iasmarm
  396. @@ -36,7 +36,7 @@ CFLAGS += -I"$(IAR_INC)"
  397. AFLAGS = --cpu 5TEJ
  398. LDFLAGS =
  399. LK = "$(TARGET_GEN_LIB)" "$(TARGET_CSP_LIB)" "$(TARGET_BSP_LIB)"
  400. -;LK += "$(IAR_LIB)\dl4tpannl8f.r79"
  401. +;LK += "$(IAR_LIB)/dl4tpannl8f.r79"
  402. MAP = --map
  403. LDESC = --config
  404. ENTRY = --entry
  405. diff --git a/makerule/lpc32xx/make.lpc32xx.keil b/makerule/lpc32xx/make.lpc32xx.keil
  406. index dd27583..7334d3f 100644
  407. --- a/makerule/lpc32xx/make.lpc32xx.keil
  408. +++ b/makerule/lpc32xx/make.lpc32xx.keil
  409. @@ -19,7 +19,7 @@
  410. # use without further testing or modification.
  411. ########################################################################
  412. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
  413. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment
  414. CC =armcc
  415. CCP =armcc
  416. @@ -27,11 +27,11 @@ AS =armasm
  417. LD =armlink
  418. AR =armar -r -s
  419. CFLAGS =--arm -O3 -g --device DARMP3 -D__MICROLIB
  420. -CFLAGS +=-I$(KEIL_RVCT)\inc -I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
  421. +CFLAGS +=-I$(KEIL_RVCT)/inc -I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
  422. AFLAGS =--arm --device=DARMP3
  423. AFLAGS +=-I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
  424. LDFLAGS =--noremove
  425. -LK =--device DARMP3 --libpath $(KEIL_RVCT)\lib --scan $(TARGET_CSP_LIB)
  426. +LK =--device DARMP3 --libpath $(KEIL_RVCT)/lib --scan $(TARGET_CSP_LIB)
  427. LK +=--scan $(TARGET_BSP_LIB)
  428. LK +=--scan $(TARGET_GEN_LIB)
  429. MAP =--map --list
  430. diff --git a/makerule/lpc32xx/make.lpc32xx.rvw b/makerule/lpc32xx/make.lpc32xx.rvw
  431. index 59961dd..2419976 100644
  432. --- a/makerule/lpc32xx/make.lpc32xx.rvw
  433. +++ b/makerule/lpc32xx/make.lpc32xx.rvw
  434. @@ -19,7 +19,7 @@
  435. # use without further testing or modification.
  436. ########################################################################
  437. -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
  438. +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment
  439. CC =armcc
  440. CCP =armcpp
  441. --
  442. 1.7.7.3