mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-13 16:38:01 +00:00
Makefile: prefer RELEASE=y|n over RELEASE=0|1
For clarity, we now prefer y|n over 0|1 as the values of boolean options on make command lines. This patch applies this preference to the Makefile of the device model and tools, while RELEASE=0|1 is still supported for backward compatibility. Tracked-On: #5772 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -99,9 +99,9 @@ ifdef RELEASE
|
||||
endif
|
||||
else
|
||||
ifdef CONFIG_RELEASE
|
||||
RELEASE := $(CONFIG_RELEASE)
|
||||
override RELEASE := $(CONFIG_RELEASE)
|
||||
else
|
||||
RELEASE := $(1)
|
||||
override RELEASE := $(1)
|
||||
endif
|
||||
endif
|
||||
endef
|
||||
|
Reference in New Issue
Block a user