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.
This commit is contained in:
Liyu Wang 2023-05-17 13:28:48 +08:00 committed by Alan Carvalho de Assis
parent 496a77653a
commit d7d6fa4d82
1 changed files with 2 additions and 0 deletions

View File

@ -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)})