Hi, I am using Docker as a faster Virtual Machinesm to build for embedded systems.
In Makefile, I see problems in evaluating/expanding subshell. The following statement can’t return a right , current path:
BASE_INSTALL_DIR := $(shell pwd)/…
Thus, all the following statements go wrong:
TOOLS_INSTALL_DIR := $(BASE_INSTALL_DIR)/tools
SDK_INSTALL_DIR := $(BASE_INSTALL_DIR)/sdk
The message goes like:
make: pwd: Command not found
How should I resolve all this issue?