1Use slashes instead of backslashes 2 3Signed-off-by: Alexandre Belloni <abelloni@adeneo-embedded.com> 4--- 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 +++--- 17 makefile | 2 +- 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(-) 24 25diff --git a/csps/lpc32xx/bsps/common/examples/buildfiles/makefile b/csps/lpc32xx/bsps/common/examples/buildfiles/makefile 26index cf4977c..1da2201 100644 27--- a/csps/lpc32xx/bsps/common/examples/buildfiles/makefile 28+++ b/csps/lpc32xx/bsps/common/examples/buildfiles/makefile 29@@ -25,16 +25,16 @@ 30 # 31 ######################################################################## 32 33-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL) 34+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL) 35 36 ######################################################################## 37 # 38 # Pick up the assembler and C source files in the directory 39 # 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 47 48 ######################################################################## 49 # 50@@ -42,6 +42,6 @@ CFLAGS +=-I..\Include 51 # 52 ######################################################################## 53 54-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build 55+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build 56 57 58diff --git a/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner b/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner 59index 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 62@@ -22,9 +22,9 @@ 63 # 64 ######################################################################## 65 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 72 73 ######################################################################## 74 # ARM Realview 75@@ -38,7 +38,7 @@ AFLAGS += --predefine "USE_ALL_STACKS SETL {TRUE}" 76 #AFLAGS += --predefine "RW_RELOC SETL {TRUE}" 77 78 # This runs from IRAM 79-LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_rvw.ld 80+LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_rvw.ld 81 LDFLAGS = --remove 82 MAP = --map --info=totals,sizes,unused --symbols --list 83 endif 84@@ -55,7 +55,7 @@ AFLAGS += --predefine "USE_ALL_STACKS SETL {TRUE}" 85 #AFLAGS += --predefine "RW_RELOC SETL {TRUE}" 86 87 # This runs from IRAM 88-LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_rvw.ld 89+LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_rvw.ld 90 LDFLAGS = --remove 91 MAP = --map --info=totals,sizes,unused --symbols --list 92 endif 93@@ -72,7 +72,7 @@ AFLAGS += --defsym USE_ALL_STACKS=1 94 #AFLAGS += --defsym RW_RELOC=1 95 96 # This runs from IRAM 97-LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_gnu.ld 98+LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_gnu.ld 99 100 endif 101 102@@ -108,7 +108,7 @@ endif 103 # Pick up the assembler and C source files in the directory 104 # 105 ######################################################################## 106-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes 107+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes 108 109 ######################################################################## 110 # 111@@ -157,6 +157,6 @@ endif 112 # 113 ######################################################################## 114 115-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build 116+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build 117 118 .PHONY: debug bin 119diff --git a/csps/lpc32xx/bsps/ea3250/source/makefile b/csps/lpc32xx/bsps/ea3250/source/makefile 120index 7cada25..2899b20 100644 121--- a/csps/lpc32xx/bsps/ea3250/source/makefile 122+++ b/csps/lpc32xx/bsps/ea3250/source/makefile 123@@ -22,16 +22,16 @@ 124 # 125 ######################################################################## 126 127-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL) 128+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL) 129 130 ######################################################################## 131 # 132 # Pick up the assembler and C source files in the directory 133 # 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 141 142 ######################################################################## 143 # 144@@ -64,7 +64,7 @@ realclean: lib_realclean 145 # 146 ######################################################################## 147 148-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build 149+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build 150 151 .PHONY: all lib_clean lib_realclean 152 153diff --git a/csps/lpc32xx/bsps/fdi3250/source/makefile b/csps/lpc32xx/bsps/fdi3250/source/makefile 154index 4e153bb..11e4b63 100644 155--- a/csps/lpc32xx/bsps/fdi3250/source/makefile 156+++ b/csps/lpc32xx/bsps/fdi3250/source/makefile 157@@ -22,16 +22,16 @@ 158 # 159 ######################################################################## 160 161-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL) 162+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL) 163 164 ######################################################################## 165 # 166 # Pick up the assembler and C source files in the directory 167 # 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 175 176 ######################################################################## 177 # 178@@ -53,7 +53,7 @@ lib_clean: 179 # delete all targets this Makefile can make and all built libraries 180 # linked in 181 lib_realclean: 182- -@$(RM) $(BSP_LIB_DIR)\*.a 183+ -@$(RM) $(BSP_LIB_DIR)/*.a 184 -@$(RMDIR) $(BSP_LIB_DIR) 185 186 clean: lib_clean 187@@ -65,7 +65,7 @@ realclean: lib_realclean 188 # 189 ######################################################################## 190 191-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build 192+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build 193 194 .PHONY: all lib_clean lib_realclean 195 196diff --git a/csps/lpc32xx/bsps/phy3250/examples/makefile b/csps/lpc32xx/bsps/phy3250/examples/makefile 197index b939252..e7feaa6 100644 198--- a/csps/lpc32xx/bsps/phy3250/examples/makefile 199+++ b/csps/lpc32xx/bsps/phy3250/examples/makefile 200@@ -25,7 +25,7 @@ 201 # 202 ######################################################################## 203 204-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL) 205+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL) 206 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 209diff --git a/csps/lpc32xx/bsps/phy3250/source/makefile b/csps/lpc32xx/bsps/phy3250/source/makefile 210index 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 215 # 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 221 222diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile 223index 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 227 228 ######################################################################## 229 # 230-# Compiler\linker specific stuff 231+# Compiler/linker specific stuff 232 # 233 ######################################################################## 234 235diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile 236index 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 240 241 ######################################################################## 242 # 243-# Compiler\linker specific stuff 244+# Compiler/linker specific stuff 245 # 246 ######################################################################## 247 248diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile 249index 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 253 254 ######################################################################## 255 # 256-# Compiler\linker specific stuff 257+# Compiler/linker specific stuff 258 # 259 ######################################################################## 260 261diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile 262index 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 266 267 ######################################################################## 268 # 269-# Compiler\linker specific stuff 270+# Compiler/linker specific stuff 271 # 272 ######################################################################## 273 274diff --git a/csps/lpc32xx/source/makefile b/csps/lpc32xx/source/makefile 275index 8e05456..16bd944 100644 276--- a/csps/lpc32xx/source/makefile 277+++ b/csps/lpc32xx/source/makefile 278@@ -25,16 +25,16 @@ 279 # 280 ######################################################################## 281 282-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL) 283+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL) 284 285 ######################################################################## 286 # 287 # Pick up the assembler and C source files in the directory 288 # 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 296 297 298 ######################################################################## 299@@ -68,7 +68,7 @@ realclean: lib_realclean 300 # 301 ######################################################################## 302 303-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build 304+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build 305 306 .PHONY: all lib_clean lib_realclean 307 308diff --git a/lpc/source/makefile b/lpc/source/makefile 309index 2860db9..ae7d612 100644 310--- a/lpc/source/makefile 311+++ b/lpc/source/makefile 312@@ -25,16 +25,16 @@ 313 # 314 ######################################################################## 315 316-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL) 317+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL) 318 319 ######################################################################## 320 # 321 # Pick up the assembler and C source files in the directory 322 # 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 330 331 ######################################################################## 332 # 333@@ -67,7 +67,7 @@ realclean: lib_realclean 334 # 335 ######################################################################## 336 337-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build 338+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build 339 340 .PHONY: all lib_clean lib_realclean 341 342diff --git a/makefile b/makefile 343index 8645fcc..86fa6bc 100644 344--- a/makefile 345+++ b/makefile 346@@ -34,7 +34,7 @@ TARGETS_CLN =gen_clean csp_clean bsp_clean 347 # 348 ######################################################################## 349 350-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL) 351+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL) 352 353 ######################################################################## 354 # 355diff --git a/makerule/common/make.rules.environment b/makerule/common/make.rules.environment 356index 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 360 # 361 ######################################################################## 362 363-CSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\lib 364+CSP_LIB_DIR =$(BUILD_ROOT)/csps/$(CSP)/lib 365 366 ######################################################################## 367 # 368@@ -60,7 +60,7 @@ CSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\lib 369 # 370 ######################################################################## 371 372-BSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\bsps\$(BSP)\lib 373+BSP_LIB_DIR =$(BUILD_ROOT)/csps/$(CSP)/bsps/$(BSP)/lib 374 375 ######################################################################## 376 # 377@@ -68,7 +68,7 @@ BSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\bsps\$(BSP)\lib 378 # 379 ######################################################################## 380 381-GEN_LIB_DIR =$(BUILD_ROOT)\$(GEN)\lib 382+GEN_LIB_DIR =$(BUILD_ROOT)/$(GEN)/lib 383 384 ######################################################################## 385 # 386@@ -76,9 +76,9 @@ GEN_LIB_DIR =$(BUILD_ROOT)\$(GEN)\lib 387 # 388 ######################################################################## 389 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 396 397 ######################################################################## 398 # 399@@ -86,9 +86,9 @@ CSP_INC_DIR =$(CSP_DIR)\include 400 # 401 ######################################################################## 402 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 409 410 ######################################################################## 411 # 412@@ -96,9 +96,9 @@ BSP_INC_DIR =$(BSP_DIR)\include 413 # 414 ######################################################################## 415 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 422 423 ######################################################################## 424 # 425@@ -151,6 +151,6 @@ endif 426 # 427 ######################################################################## 428 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) 435diff --git a/makerule/lpc32xx/make.lpc32xx.gnu b/makerule/lpc32xx/make.lpc32xx.gnu 436index 3277d99..d80b98d 100644 437--- a/makerule/lpc32xx/make.lpc32xx.gnu 438+++ b/makerule/lpc32xx/make.lpc32xx.gnu 439@@ -19,7 +19,7 @@ 440 # use without further testing or modification. 441 ######################################################################## 442 443-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment 444+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment 445 446 CPU = arm926ej-s 447 CFLAGS = -mcpu=arm926ej-s -Wall -Os 448diff --git a/makerule/lpc32xx/make.lpc32xx.iar b/makerule/lpc32xx/make.lpc32xx.iar 449index 238ebbf..27d163f 100644 450--- a/makerule/lpc32xx/make.lpc32xx.iar 451+++ b/makerule/lpc32xx/make.lpc32xx.iar 452@@ -19,12 +19,12 @@ 453 # use without further testing or modification. 454 ######################################################################## 455 456-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment 457+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment 458 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 467 CC = iccarm 468 CCP = iccarm 469 AS = iasmarm 470@@ -36,7 +36,7 @@ CFLAGS += -I"$(IAR_INC)" 471 AFLAGS = --cpu 5TEJ 472 LDFLAGS = 473 LK = "$(TARGET_GEN_LIB)" "$(TARGET_CSP_LIB)" "$(TARGET_BSP_LIB)" 474-;LK += "$(IAR_LIB)\dl4tpannl8f.r79" 475+;LK += "$(IAR_LIB)/dl4tpannl8f.r79" 476 MAP = --map 477 LDESC = --config 478 ENTRY = --entry 479diff --git a/makerule/lpc32xx/make.lpc32xx.keil b/makerule/lpc32xx/make.lpc32xx.keil 480index dd27583..7334d3f 100644 481--- a/makerule/lpc32xx/make.lpc32xx.keil 482+++ b/makerule/lpc32xx/make.lpc32xx.keil 483@@ -19,7 +19,7 @@ 484 # use without further testing or modification. 485 ######################################################################## 486 487-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment 488+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment 489 490 CC =armcc 491 CCP =armcc 492@@ -27,11 +27,11 @@ AS =armasm 493 LD =armlink 494 AR =armar -r -s 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) 500 LDFLAGS =--noremove 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) 505 MAP =--map --list 506diff --git a/makerule/lpc32xx/make.lpc32xx.rvw b/makerule/lpc32xx/make.lpc32xx.rvw 507index 59961dd..2419976 100644 508--- a/makerule/lpc32xx/make.lpc32xx.rvw 509+++ b/makerule/lpc32xx/make.lpc32xx.rvw 510@@ -19,7 +19,7 @@ 511 # use without further testing or modification. 512 ######################################################################## 513 514-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment 515+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment 516 517 CC =armcc 518 CCP =armcpp 519-- 5201.7.7.3 521 522