Skip to content

Commit

Permalink
- Adjusting freetos makefile to comply with recursion
Browse files Browse the repository at this point in the history
- Excluded repositories from vscode filewatcher
  • Loading branch information
xX7 committed Dec 3, 2022
1 parent def38e7 commit d9f190d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
14 changes: 10 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/imgs" : true,
"**/srcs/arm-trusted-firmware" : true,
"**/srcs/buildroot-*" : true,
"**/srcs/linux-*" : true,
"**/srcs/u-boot" : true,
"**/src/arm-trusted-firmware" : true,
"**/src/buildroot-*" : true,
"**/src/linux-*" : true,
"**/src/u-boot" : true,
},
"files.watcherExclude": {
"**/src/arm-trusted-firmware/**": true,
"**/src/buildroot-*/**": true,
"**/src/linux-*/**": true,
"**/src/u-boot/**": true
}
//"C_Cpp.loggingLevel": "Debug"
}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ include freertos.mk
include linux.mk
include bao.mk

.PHONY: dir all
.PHONY: dir all freertos
6 changes: 2 additions & 4 deletions freertos.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
freertos_src:=$(srcPath)/freertos
freertos_dest_image:=$(imgPath)/freertos.bin

$(freertos_dest_image): $(freertos_src)
freertos $(freertos_dest_image): $(freertos_src)
$(MAKE) -C $(freertos_src) PLATFORM=$(PLATFORM)
cp $(freertos_src)/build/$(PLATFORM)/freertos.bin $(freertos_dest_image)

freertos: $(freertos_dest_image)
cp $(freertos_src)/build/$(PLATFORM)/freertos.bin $(freertos_dest_image)

0 comments on commit d9f190d

Please sign in to comment.