1 Use slashes instead of backslashes
3 Signed-off-by: Alexandre Belloni <abelloni@adeneo-embedded.com>
5 .../bsps/common/examples/buildfiles/makefile | 10 +++---
6 .../startup/examples/burners/makefile.burner | 16 +++++-----
7 csps/lpc32xx/bsps/ea3250/source/makefile | 10 +++---
8 csps/lpc32xx/bsps/fdi3250/source/makefile | 12 ++++----
9 csps/lpc32xx/bsps/phy3250/examples/makefile | 2 +-
10 csps/lpc32xx/bsps/phy3250/source/makefile | 2 +-
11 .../examples/Burners/nor/kickstart/makefile | 2 +-
12 .../startup/examples/Burners/nor/norerase/makefile | 2 +-
13 .../startup/examples/Burners/nor/s1lapp/makefile | 2 +-
14 .../examples/Burners/spi/kickstart/makefile | 2 +-
15 csps/lpc32xx/source/makefile | 10 +++---
16 lpc/source/makefile | 10 +++---
18 makerule/common/make.rules.environment | 30 ++++++++++----------
19 makerule/lpc32xx/make.lpc32xx.gnu | 2 +-
20 makerule/lpc32xx/make.lpc32xx.iar | 12 ++++----
21 makerule/lpc32xx/make.lpc32xx.keil | 6 ++--
22 makerule/lpc32xx/make.lpc32xx.rvw | 2 +-
23 18 files changed, 67 insertions(+), 67 deletions(-)
25 diff --git a/csps/lpc32xx/bsps/common/examples/buildfiles/makefile b/csps/lpc32xx/bsps/common/examples/buildfiles/makefile
26 index cf4977c..1da2201 100644
27 --- a/csps/lpc32xx/bsps/common/examples/buildfiles/makefile
28 +++ b/csps/lpc32xx/bsps/common/examples/buildfiles/makefile
31 ########################################################################
33 -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
34 +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
36 ########################################################################
38 # Pick up the assembler and C source files in the directory
40 ########################################################################
41 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
42 -AFLAGS +=-I..\Include
43 -CFLAGS +=-I..\Include
44 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
45 +AFLAGS +=-I../Include
46 +CFLAGS +=-I../Include
48 ########################################################################
50 @@ -42,6 +42,6 @@ CFLAGS +=-I..\Include
52 ########################################################################
54 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
55 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
58 diff --git a/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner b/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner
59 index fca3947..18bd703 100644
60 --- a/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner
61 +++ b/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner
64 ########################################################################
66 -COMMON_BASE := $(NXPMCU_SOFTWARE)\csps\$(CSP)\bsps\common
67 -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
68 -include $(COMMON_BASE)\startup\examples\buildfiles\make.env
69 +COMMON_BASE := $(NXPMCU_SOFTWARE)/csps/$(CSP)/bsps/common
70 +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
71 +include $(COMMON_BASE)/startup/examples/buildfiles/make.env
73 ########################################################################
75 @@ -38,7 +38,7 @@ AFLAGS += --predefine "USE_ALL_STACKS SETL {TRUE}"
76 #AFLAGS += --predefine "RW_RELOC SETL {TRUE}"
79 -LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_rvw.ld
80 +LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_rvw.ld
82 MAP = --map --info=totals,sizes,unused --symbols --list
84 @@ -55,7 +55,7 @@ AFLAGS += --predefine "USE_ALL_STACKS SETL {TRUE}"
85 #AFLAGS += --predefine "RW_RELOC SETL {TRUE}"
88 -LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_rvw.ld
89 +LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_rvw.ld
91 MAP = --map --info=totals,sizes,unused --symbols --list
93 @@ -72,7 +72,7 @@ AFLAGS += --defsym USE_ALL_STACKS=1
94 #AFLAGS += --defsym RW_RELOC=1
97 -LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_gnu.ld
98 +LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_gnu.ld
102 @@ -108,7 +108,7 @@ endif
103 # Pick up the assembler and C source files in the directory
105 ########################################################################
106 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
107 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
109 ########################################################################
111 @@ -157,6 +157,6 @@ endif
113 ########################################################################
115 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
116 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
119 diff --git a/csps/lpc32xx/bsps/ea3250/source/makefile b/csps/lpc32xx/bsps/ea3250/source/makefile
120 index 7cada25..2899b20 100644
121 --- a/csps/lpc32xx/bsps/ea3250/source/makefile
122 +++ b/csps/lpc32xx/bsps/ea3250/source/makefile
125 ########################################################################
127 -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
128 +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
130 ########################################################################
132 # Pick up the assembler and C source files in the directory
134 ########################################################################
135 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
136 -AFLAGS +=-I..\Include
137 -CFLAGS +=-I..\Include
138 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
139 +AFLAGS +=-I../Include
140 +CFLAGS +=-I../Include
142 ########################################################################
144 @@ -64,7 +64,7 @@ realclean: lib_realclean
146 ########################################################################
148 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
149 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
151 .PHONY: all lib_clean lib_realclean
153 diff --git a/csps/lpc32xx/bsps/fdi3250/source/makefile b/csps/lpc32xx/bsps/fdi3250/source/makefile
154 index 4e153bb..11e4b63 100644
155 --- a/csps/lpc32xx/bsps/fdi3250/source/makefile
156 +++ b/csps/lpc32xx/bsps/fdi3250/source/makefile
159 ########################################################################
161 -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
162 +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
164 ########################################################################
166 # Pick up the assembler and C source files in the directory
168 ########################################################################
169 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
170 -AFLAGS +=-I..\Include
171 -CFLAGS +=-I..\Include
172 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
173 +AFLAGS +=-I../Include
174 +CFLAGS +=-I../Include
176 ########################################################################
178 @@ -53,7 +53,7 @@ lib_clean:
179 # delete all targets this Makefile can make and all built libraries
182 - -@$(RM) $(BSP_LIB_DIR)\*.a
183 + -@$(RM) $(BSP_LIB_DIR)/*.a
184 -@$(RMDIR) $(BSP_LIB_DIR)
187 @@ -65,7 +65,7 @@ realclean: lib_realclean
189 ########################################################################
191 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
192 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
194 .PHONY: all lib_clean lib_realclean
196 diff --git a/csps/lpc32xx/bsps/phy3250/examples/makefile b/csps/lpc32xx/bsps/phy3250/examples/makefile
197 index b939252..e7feaa6 100644
198 --- a/csps/lpc32xx/bsps/phy3250/examples/makefile
199 +++ b/csps/lpc32xx/bsps/phy3250/examples/makefile
202 ########################################################################
204 -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
205 +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
207 SUBDIRS = adc dram_self_refresh hstimer hsuart i2c kscan lcd_colorbars
208 SUBDIRS += lcd_tsc mi2c mstimer pwm pwm_simple rtc sdcard sdcard_dma
209 diff --git a/csps/lpc32xx/bsps/phy3250/source/makefile b/csps/lpc32xx/bsps/phy3250/source/makefile
210 index 7c48e7d..750b776 100644
211 --- a/csps/lpc32xx/bsps/phy3250/source/makefile
212 +++ b/csps/lpc32xx/bsps/phy3250/source/makefile
213 @@ -32,7 +32,7 @@ include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
214 # Pick up the assembler and C source files in the directory
216 ########################################################################
217 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
218 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
219 AFLAGS +=-I../Include
220 CFLAGS +=-I../Include
222 diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile
223 index 01e2b38..526d6cc 100644
224 --- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile
225 +++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile
226 @@ -78,7 +78,7 @@ endif
228 ########################################################################
230 -# Compiler\linker specific stuff
231 +# Compiler/linker specific stuff
233 ########################################################################
235 diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile
236 index ce329f5..e81b8db 100644
237 --- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile
238 +++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile
239 @@ -77,7 +77,7 @@ endif
241 ########################################################################
243 -# Compiler\linker specific stuff
244 +# Compiler/linker specific stuff
246 ########################################################################
248 diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile
249 index 4426fc7..196faec 100644
250 --- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile
251 +++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile
252 @@ -77,7 +77,7 @@ endif
254 ########################################################################
256 -# Compiler\linker specific stuff
257 +# Compiler/linker specific stuff
259 ########################################################################
261 diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile
262 index dc73b64..39fc304 100644
263 --- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile
264 +++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile
265 @@ -78,7 +78,7 @@ endif
267 ########################################################################
269 -# Compiler\linker specific stuff
270 +# Compiler/linker specific stuff
272 ########################################################################
274 diff --git a/csps/lpc32xx/source/makefile b/csps/lpc32xx/source/makefile
275 index 8e05456..16bd944 100644
276 --- a/csps/lpc32xx/source/makefile
277 +++ b/csps/lpc32xx/source/makefile
280 ########################################################################
282 -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
283 +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
285 ########################################################################
287 # Pick up the assembler and C source files in the directory
289 ########################################################################
290 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
291 -AFLAGS +=-I..\Include
292 -CFLAGS +=-I..\Include
293 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
294 +AFLAGS +=-I../Include
295 +CFLAGS +=-I../Include
298 ########################################################################
299 @@ -68,7 +68,7 @@ realclean: lib_realclean
301 ########################################################################
303 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
304 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
306 .PHONY: all lib_clean lib_realclean
308 diff --git a/lpc/source/makefile b/lpc/source/makefile
309 index 2860db9..ae7d612 100644
310 --- a/lpc/source/makefile
311 +++ b/lpc/source/makefile
314 ########################################################################
316 -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
317 +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
319 ########################################################################
321 # Pick up the assembler and C source files in the directory
323 ########################################################################
324 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
325 -AFLAGS +=-I..\Include
326 -CFLAGS +=-I..\Include
327 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
328 +AFLAGS +=-I../Include
329 +CFLAGS +=-I../Include
331 ########################################################################
333 @@ -67,7 +67,7 @@ realclean: lib_realclean
335 ########################################################################
337 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
338 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
340 .PHONY: all lib_clean lib_realclean
342 diff --git a/makefile b/makefile
343 index 8645fcc..86fa6bc 100644
346 @@ -34,7 +34,7 @@ TARGETS_CLN =gen_clean csp_clean bsp_clean
348 ########################################################################
350 -include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
351 +include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
353 ########################################################################
355 diff --git a/makerule/common/make.rules.environment b/makerule/common/make.rules.environment
356 index d5737fe..4e6df48 100644
357 --- a/makerule/common/make.rules.environment
358 +++ b/makerule/common/make.rules.environment
359 @@ -52,7 +52,7 @@ ASTYLE =astyle --options=$(BUILD_ROOT)/tools/astyle.cfg
361 ########################################################################
363 -CSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\lib
364 +CSP_LIB_DIR =$(BUILD_ROOT)/csps/$(CSP)/lib
366 ########################################################################
368 @@ -60,7 +60,7 @@ CSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\lib
370 ########################################################################
372 -BSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\bsps\$(BSP)\lib
373 +BSP_LIB_DIR =$(BUILD_ROOT)/csps/$(CSP)/bsps/$(BSP)/lib
375 ########################################################################
377 @@ -68,7 +68,7 @@ BSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\bsps\$(BSP)\lib
379 ########################################################################
381 -GEN_LIB_DIR =$(BUILD_ROOT)\$(GEN)\lib
382 +GEN_LIB_DIR =$(BUILD_ROOT)/$(GEN)/lib
384 ########################################################################
386 @@ -76,9 +76,9 @@ GEN_LIB_DIR =$(BUILD_ROOT)\$(GEN)\lib
388 ########################################################################
390 -CSP_DIR =$(BUILD_ROOT)\csps\$(CSP)
391 -CSP_SRC_DIR =$(CSP_DIR)\source
392 -CSP_INC_DIR =$(CSP_DIR)\include
393 +CSP_DIR =$(BUILD_ROOT)/csps/$(CSP)
394 +CSP_SRC_DIR =$(CSP_DIR)/source
395 +CSP_INC_DIR =$(CSP_DIR)/include
397 ########################################################################
399 @@ -86,9 +86,9 @@ CSP_INC_DIR =$(CSP_DIR)\include
401 ########################################################################
403 -BSP_DIR =$(BUILD_ROOT)\csps\$(CSP)\bsps\$(BSP)
404 -BSP_SRC_DIR =$(BSP_DIR)\source
405 -BSP_INC_DIR =$(BSP_DIR)\include
406 +BSP_DIR =$(BUILD_ROOT)/csps/$(CSP)/bsps/$(BSP)
407 +BSP_SRC_DIR =$(BSP_DIR)/source
408 +BSP_INC_DIR =$(BSP_DIR)/include
410 ########################################################################
412 @@ -96,9 +96,9 @@ BSP_INC_DIR =$(BSP_DIR)\include
414 ########################################################################
416 -GEN_DIR =$(BUILD_ROOT)\$(GEN)
417 -GEN_SRC_DIR =$(GEN_DIR)\source
418 -GEN_INC_DIR =$(GEN_DIR)\include
419 +GEN_DIR =$(BUILD_ROOT)/$(GEN)
420 +GEN_SRC_DIR =$(GEN_DIR)/source
421 +GEN_INC_DIR =$(GEN_DIR)/include
423 ########################################################################
425 @@ -151,6 +151,6 @@ endif
427 ########################################################################
429 -TARGET_CSP_LIB =$(CSP_LIB_DIR)\$(CSP_ARCHIVE)
430 -TARGET_BSP_LIB =$(BSP_LIB_DIR)\$(BSP_ARCHIVE)
431 -TARGET_GEN_LIB =$(GEN_LIB_DIR)\$(GEN_ARCHIVE)
432 +TARGET_CSP_LIB =$(CSP_LIB_DIR)/$(CSP_ARCHIVE)
433 +TARGET_BSP_LIB =$(BSP_LIB_DIR)/$(BSP_ARCHIVE)
434 +TARGET_GEN_LIB =$(GEN_LIB_DIR)/$(GEN_ARCHIVE)
435 diff --git a/makerule/lpc32xx/make.lpc32xx.gnu b/makerule/lpc32xx/make.lpc32xx.gnu
436 index 3277d99..d80b98d 100644
437 --- a/makerule/lpc32xx/make.lpc32xx.gnu
438 +++ b/makerule/lpc32xx/make.lpc32xx.gnu
440 # use without further testing or modification.
441 ########################################################################
443 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
444 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment
447 CFLAGS = -mcpu=arm926ej-s -Wall -Os
448 diff --git a/makerule/lpc32xx/make.lpc32xx.iar b/makerule/lpc32xx/make.lpc32xx.iar
449 index 238ebbf..27d163f 100644
450 --- a/makerule/lpc32xx/make.lpc32xx.iar
451 +++ b/makerule/lpc32xx/make.lpc32xx.iar
453 # use without further testing or modification.
454 ########################################################################
456 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
457 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment
459 -IARBASE = $(IAR_ROOT)\ARM
460 -IARTOOLS = $(IARBASE)\bin
461 -IAR_LIB = $(IARBASE)\lib
462 -IAR_INC = $(IARBASE)\inc
463 +IARBASE = $(IAR_ROOT)/ARM
464 +IARTOOLS = $(IARBASE)/bin
465 +IAR_LIB = $(IARBASE)/lib
466 +IAR_INC = $(IARBASE)/inc
470 @@ -36,7 +36,7 @@ CFLAGS += -I"$(IAR_INC)"
473 LK = "$(TARGET_GEN_LIB)" "$(TARGET_CSP_LIB)" "$(TARGET_BSP_LIB)"
474 -;LK += "$(IAR_LIB)\dl4tpannl8f.r79"
475 +;LK += "$(IAR_LIB)/dl4tpannl8f.r79"
479 diff --git a/makerule/lpc32xx/make.lpc32xx.keil b/makerule/lpc32xx/make.lpc32xx.keil
480 index dd27583..7334d3f 100644
481 --- a/makerule/lpc32xx/make.lpc32xx.keil
482 +++ b/makerule/lpc32xx/make.lpc32xx.keil
484 # use without further testing or modification.
485 ########################################################################
487 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
488 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment
492 @@ -27,11 +27,11 @@ AS =armasm
495 CFLAGS =--arm -O3 -g --device DARMP3 -D__MICROLIB
496 -CFLAGS +=-I$(KEIL_RVCT)\inc -I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
497 +CFLAGS +=-I$(KEIL_RVCT)/inc -I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
498 AFLAGS =--arm --device=DARMP3
499 AFLAGS +=-I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
501 -LK =--device DARMP3 --libpath $(KEIL_RVCT)\lib --scan $(TARGET_CSP_LIB)
502 +LK =--device DARMP3 --libpath $(KEIL_RVCT)/lib --scan $(TARGET_CSP_LIB)
503 LK +=--scan $(TARGET_BSP_LIB)
504 LK +=--scan $(TARGET_GEN_LIB)
506 diff --git a/makerule/lpc32xx/make.lpc32xx.rvw b/makerule/lpc32xx/make.lpc32xx.rvw
507 index 59961dd..2419976 100644
508 --- a/makerule/lpc32xx/make.lpc32xx.rvw
509 +++ b/makerule/lpc32xx/make.lpc32xx.rvw
511 # use without further testing or modification.
512 ########################################################################
514 -include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
515 +include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment