2018-11-21 00:32:40 -06:00
|
|
|
# sonic version yml file
|
|
|
|
|
|
|
|
sonic_version=$(SONIC_GET_VERSION)
|
|
|
|
sonic_asic_platform=$(CONFIGURED_PLATFORM)
|
2023-04-17 19:30:49 -05:00
|
|
|
sonic_os_version=$(SONIC_OS_VERSION)
|
2018-11-21 00:32:40 -06:00
|
|
|
|
|
|
|
export sonic_version
|
|
|
|
export sonic_asic_platform
|
2023-04-17 19:30:49 -05:00
|
|
|
export sonic_os_version
|
2018-11-21 00:32:40 -06:00
|
|
|
|
|
|
|
SONIC_VERSION = sonic_version.yml
|
|
|
|
$(SONIC_VERSION)_SRC_PATH = $(PLATFORM_PATH)/sonic-version
|
|
|
|
SONIC_MAKE_FILES += $(SONIC_VERSION)
|
|
|
|
|
|
|
|
SONIC_PHONY_TARGETS += $(addprefix $(FILES_PATH)/, $(SONIC_VERSION))
|