From 3d6cd1bdc2e880007684cc849069472d3603b5b9 Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Thu, 3 Dec 2020 12:12:26 +0800 Subject: [PATCH] Avoid using ~ for home directory as the linker seems not to expand it properly. Let gmake expand $(HOME) instead. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0404299..06e895d 100644 --- a/Makefile +++ b/Makefile @@ -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"