utils.mk: update BUILD_TYPE argument

Enable to dynamically set BUILD_TYPE argument.

Fixes: #7284

Signed-off-by: xuejun-xj <jiyunxue@linux.alibaba.com>
This commit is contained in:
xuejun-xj 2023-07-05 19:06:17 +08:00
parent 883b4db380
commit a88212e2c5

View File

@ -130,7 +130,7 @@ endef
##VAR BUILD_TYPE=release|debug type of rust build
BUILD_TYPE = release
BUILD_TYPE ?= release
##VAR ARCH=arch target to build (format: uname -m)
HOST_ARCH = $(shell uname -m)