[slave.mk] fix error: recursive variable references itself. (#9385)
- Why I did it To fix the above error when running make slave.mk with PLATFORM=vs. - How I did it Instead of: export BUILD_MULTIASIC_KVM=$(BUILD_MULTIASIC_KVM) do just the export: export BUILD_MULTIASIC_KVM BUILD_MULTIASIC_KVM is already defined to be either empty, or from rules/config or from the environment - from Makefile.work. No need to dereference the variable in the export statement. - How to verify it PLATFORM=vs make -f slave.mk list # verify no error and BUILD_MULTIASIC_KVM is empty in the output PLATFORM=vs BUILD_MULTIASIC_KVM=y make -f slave.mk list # verify no error and BUILD_MULTIASIC_KVM is set to y in the output Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
This commit is contained in:
parent
82085af786
commit
d77757d607
2
slave.mk
2
slave.mk
@ -230,7 +230,7 @@ MAKEFLAGS += -j $(SONIC_BUILD_JOBS)
|
||||
export SONIC_CONFIG_MAKE_JOBS
|
||||
|
||||
ifeq ($(CONFIGURED_PLATFORM),vs)
|
||||
export BUILD_MULTIASIC_KVM=$(BUILD_MULTIASIC_KVM)
|
||||
export BUILD_MULTIASIC_KVM
|
||||
endif
|
||||
|
||||
###############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user