From d7d6fa4d82db319c43ff10c29220ef951ad80890 Mon Sep 17 00:00:00 2001 From: Liyu Wang Date: Wed, 17 May 2023 13:28:48 +0800 Subject: [PATCH] Fix windows compile errors because of double quotes in config The "CONFIG_APPS_DIR" generated in .config has double quotes and is not recognized as a path by most make systems. This commits removes these double quotes to make the compile successfully. --- tools/Win.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/Win.mk b/tools/Win.mk index b9b64608e8c..6a400278c5b 100644 --- a/tools/Win.mk +++ b/tools/Win.mk @@ -52,6 +52,8 @@ ARCH_INC = $(ARCH_DIR)\include ifeq ($(CONFIG_APPS_DIR),) CONFIG_APPS_DIR = ..\apps +else +CONFIG_APPS_DIR := $(patsubst "%",%,$(CONFIG_APPS_DIR)) endif APPDIR := $(realpath ${shell if exist "$(CONFIG_APPS_DIR)\Makefile" echo $(CONFIG_APPS_DIR)})