Userspace: add support for adding environment variables during build (#22887)
This commit is contained in:
parent
158aaef78c
commit
380e0c9cad
17 changed files with 372 additions and 159 deletions
|
|
@ -32,9 +32,6 @@ ifneq ($(CONVERT_TO),)
|
|||
|
||||
PLATFORM_KEY = $(shell echo $(CONVERTER) | cut -d "/" -f2)
|
||||
|
||||
# force setting as value can be from environment
|
||||
override TARGET := $(TARGET)_$(CONVERT_TO)
|
||||
|
||||
# Configure any defaults
|
||||
OPT_DEFS += -DCONVERT_TO_$(shell echo $(CONVERT_TO) | tr '[:lower:]' '[:upper:]')
|
||||
OPT_DEFS += -DCONVERTER_TARGET=\"$(CONVERT_TO)\"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue