Don't check the codename for REL configuration.

Bug: 294161396
Test: m
Change-Id: I905801fdb6520b430f15f219ae4cd89be74065a5
This commit is contained in:
Alex Buynytskyy
2023-08-19 00:03:28 +00:00
parent 4a35600b7f
commit be87e19e67

View File

@@ -37,6 +37,7 @@ ifneq (,$(wildcard cts/))
cts_platform_release_path := cts/tests/tests/os/assets/platform_releases.txt cts_platform_release_path := cts/tests/tests/os/assets/platform_releases.txt
cts_platform_release_string := $(shell cat $(cts_platform_release_path)) cts_platform_release_string := $(shell cat $(cts_platform_release_path))
ifeq ($(RELEASE_PLATFORM_VERSION_CODENAME_REL),)
ifeq (,$(findstring $(PLATFORM_VERSION),$(cts_platform_version_string))) ifeq (,$(findstring $(PLATFORM_VERSION),$(cts_platform_version_string)))
define error_msg define error_msg
============================================================ ============================================================
@@ -48,6 +49,7 @@ ifneq (,$(wildcard cts/))
endef endef
$(error $(error_msg)) $(error $(error_msg))
endif endif
endif
ifeq (,$(findstring $(PLATFORM_VERSION_LAST_STABLE),$(cts_platform_release_string))) ifeq (,$(findstring $(PLATFORM_VERSION_LAST_STABLE),$(cts_platform_release_string)))
define error_msg define error_msg
============================================================ ============================================================