Skip to content

Commit

Permalink
optional toolchain-user.mak include file
Browse files Browse the repository at this point in the history
  • Loading branch information
rene-dev committed Apr 11, 2018
1 parent e437ba7 commit 69f262c
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ src/conf_templates.c
stm32f303/inc/commandslist.h
stm32f303/inc/hal_tbl.h
stm32f303/src/hal_tbl.c
toolchain-user.mak
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ clean:
# Include the base rules
#
include base.mak
include toolchain.mak

# Include the dependency files
#
Expand Down
3 changes: 3 additions & 0 deletions base.mak
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,6 @@ flash: $(TARGET).bin
%.dfu: %.bin
@cp $< $@
@$(DFU-SUFFIX) -v 0483 -p df11 -a $@

include toolchain.mak
-include toolchain-user.mak
1 change: 0 additions & 1 deletion bootloader/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ clean:
# Include the base rules
#
include base.mak
include toolchain.mak

# Include the dependency files
#
Expand Down
1 change: 0 additions & 1 deletion f3_boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ clean:
# Include the base rules
#
include base.mak
include toolchain.mak

# Include the dependency files
#
Expand Down
1 change: 0 additions & 1 deletion stm32f303/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ clean:
# Include the base rules
#
include base.mak
include toolchain.mak

# Include the dependency files
#
Expand Down
1 change: 1 addition & 0 deletions toolchain.mak
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Define programs and commands for the toolchain
# Do not modiy this file. Instead create a file toolchain-user.mak which can overwrite anything in here.
PYTHON = python
DFU-UTIL = dfu-util
DFU-SUFFIX = dfu-suffix
Expand Down

0 comments on commit 69f262c

Please sign in to comment.