mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 00:34:10 +08:00
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:
committed by
Alan Carvalho de Assis
parent
496a77653a
commit
d7d6fa4d82
@@ -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)})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user