mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Rename make folder to get rid of build error. (#12880)
When trying to build firmware with current directory in PATH environment it scans for make command and generates "Permission denied" error in case if current directory in PATH precedes /usr/bin/ directory.In my case it was caused by incorrect pyenv init script. Rename make folder to avoid errors like this.
This commit is contained in:
parent
eb4d95e039
commit
7b39d3d296
20 changed files with 23 additions and 21 deletions
|
@ -14,10 +14,11 @@
|
|||
USER_DIR = ../main
|
||||
TEST_DIR = unit
|
||||
ROOT = ../..
|
||||
OBJECT_DIR = ../../obj/test
|
||||
OBJECT_DIR = $(ROOT)/obj/test
|
||||
TARGET_DIR = $(USER_DIR)/target
|
||||
MAKE_SCRIPT_DIR := $(ROOT)/mk
|
||||
|
||||
include $(ROOT)/make/system-id.mk
|
||||
include $(MAKE_SCRIPT_DIR)/system-id.mk
|
||||
|
||||
VPATH := $(VPATH):$(USER_DIR):$(TEST_DIR)
|
||||
|
||||
|
@ -592,7 +593,7 @@ GTEST_HEADERS = $(GTEST_DIR)/inc/gtest/*.h
|
|||
## V : Set verbosity level based on the V= parameter
|
||||
## V=0 Low
|
||||
## V=1 High
|
||||
include ../../make/build_verbosity.mk
|
||||
include $(MAKE_SCRIPT_DIR)/build_verbosity.mk
|
||||
|
||||
# House-keeping build targets.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue