Makefiles: Change ${shell pwd} to $(CURDIR) since pwd doesn't exist on Windows
This commit is contained in:
parent
f7229b24fe
commit
e73ca15c99
7
Makefile
7
Makefile
@ -35,12 +35,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
APPDIR = $(CURDIR)
|
||||||
APPDIR = ${shell echo %CD%}
|
|
||||||
else
|
|
||||||
APPDIR = ${shell pwd}
|
|
||||||
endif
|
|
||||||
|
|
||||||
TOPDIR ?= $(APPDIR)/import
|
TOPDIR ?= $(APPDIR)/import
|
||||||
-include $(TOPDIR)/Make.defs
|
-include $(TOPDIR)/Make.defs
|
||||||
-include $(APPDIR)/Make.defs
|
-include $(APPDIR)/Make.defs
|
||||||
|
@ -55,7 +55,7 @@ LVGL_DIR = .
|
|||||||
|
|
||||||
# Set up build configuration and environment
|
# Set up build configuration and environment
|
||||||
|
|
||||||
WD := ${shell pwd | sed -e 's/ /\\ /g'}
|
WD := ${shell echo $(CURDIR) | sed -e 's/ /\\ /g'}
|
||||||
|
|
||||||
CONFIG_GRAPH_LVGL_URL ?= "https://littlevgl.com/download/"
|
CONFIG_GRAPH_LVGL_URL ?= "https://littlevgl.com/download/"
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
|
|
||||||
WD = ${shell pwd}
|
WD = $(CURDIR)
|
||||||
TRAVELER = $(WD)/../..
|
TRAVELER = $(WD)/../..
|
||||||
NUTTXDIR = $(WD)/../include
|
NUTTXDIR = $(WD)/../include
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
BUILDDIR := ${shell pwd | sed -e 's/ /\\ /g'}
|
BUILDDIR := ${shell echo $(CURDIR) | sed -e 's/ /\\ /g'}
|
||||||
|
|
||||||
-include $(TOPDIR)/Make.defs
|
-include $(TOPDIR)/Make.defs
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
# Set up build configuration and environment
|
# Set up build configuration and environment
|
||||||
|
|
||||||
WD := ${shell pwd | sed -e 's/ /\\ /g'}
|
WD := ${shell echo $(CURDIR) | sed -e 's/ /\\ /g'}
|
||||||
|
|
||||||
CONFIG_NETUTILS_CJSON_URL ?= "https://github.com/DaveGamble/cJSON/archive"
|
CONFIG_NETUTILS_CJSON_URL ?= "https://github.com/DaveGamble/cJSON/archive"
|
||||||
CONFIG_NETUTILS_CJSON_VERSION ?= "1.7.10"
|
CONFIG_NETUTILS_CJSON_VERSION ?= "1.7.10"
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
# Set up build configuration and environment
|
# Set up build configuration and environment
|
||||||
|
|
||||||
WD := ${shell pwd | sed -e 's/ /\\ /g'}
|
WD := ${shell echo $(CURDIR) | sed -e 's/ /\\ /g'}
|
||||||
|
|
||||||
CONFIG_TESTING_UNITY_URL ?= "https://github.com/ThrowTheSwitch/Unity/archive"
|
CONFIG_TESTING_UNITY_URL ?= "https://github.com/ThrowTheSwitch/Unity/archive"
|
||||||
CONFIG_TESTING_UNITY_VERSION ?= "2.4.3"
|
CONFIG_TESTING_UNITY_VERSION ?= "2.4.3"
|
||||||
|
Loading…
Reference in New Issue
Block a user