53891c5602
#### Why I did it Mellanox builds were failing intermittently due to the `issue_version` file and MFT package not building correctly in the Azure pipeline environment (both of these packages were patched to build correctly with bullseye running on the host and buster running on the dockers) #### How I did it Fixed two problems: 1. BLDENV is not passed to the Makefiles so the references to this were replaced with correct logic 2. `issue_version` was not defined as a target for bullseye and as such was not cached. Altered the build such that it is defined as a target for bullseye (in the case of buster it builds the file, in the case of bullseye it copies from buster) The previous PR fixing this was reverted as it is no longer necessary for a passing build and was not a long-term fix. https://github.com/Azure/sonic-buildimage/pull/9235 #### How to verify it Build on AZP and verify success.
11 lines
413 B
Plaintext
11 lines
413 B
Plaintext
# DPKG FRK
|
|
|
|
SPATH := $($(ISSU_VERSION_FILE)_SRC_PATH)
|
|
DEP_FILES := $(SONIC_COMMON_FILES_LIST) $(PLATFORM_PATH)/issu-version.mk $(PLATFORM_PATH)/issu-version.dep
|
|
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
|
DEP_FILES += $(shell git ls-files -- $(SPATH))
|
|
|
|
$(ISSU_VERSION_FILE)_CACHE_MODE := GIT_CONTENT_SHA
|
|
$(ISSU_VERSION_FILE)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
|
$(ISSU_VERSION_FILE)_DEP_FILES := $(DEP_FILES)
|