Avoid using ~ for home directory as the linker seems not to expand it properly. Let gmake expand $(HOME) instead.

This commit is contained in:
Renaud 2020-12-03 12:12:26 +08:00
parent d5b4417571
commit 3d6cd1bdc2
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@
ifeq (linux, $(findstring linux, $(MAKE_HOST)))
#GCCDIR = ~/Packages/gcc-arm-none-eabi-9-2019-q4-major
GCCDIR = ~/Packages/gcc-arm-none-eabi-9-2020-q2-update
#GCCDIR = ~/Packages/gcc-arm-none-eabi-9-2020-q2-update
GCCDIR = $(HOME)/Packages/gcc-arm-none-eabi-9-2020-q2-update
else
#GCCDIR = "D:/Program Files (x86)/GNU Tools ARM Embedded/9 2019-q4-major"
GCCDIR = "D:/Program Files (x86)/GNU Arm Embedded Toolchain/9 2020-q2-update"