From f0e88a2894651574527d4f8dc8f75f6fabf7b130 Mon Sep 17 00:00:00 2001 From: xumia <59720581+xumia@users.noreply.github.com> Date: Fri, 6 Jan 2023 10:39:40 +0800 Subject: [PATCH] [Build] Fix the export variables issue (#13248) Why I did it It has impact on the march armhf build, see https://dev.azure.com/mssonic/build/_build/results?buildId=198154&view=logs&j=83fd383b-c589-57ca-3934-a41cc030c48f&t=ef066b7a-d14d-57c4-a316-d3d309bdbbd5 It is caused by the code merge, good in branch 202211 and master. How I did it Change the export variable location in the Makefile. How to verify it --- Makefile.work | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.work b/Makefile.work index b5373067eb..0045caa331 100644 --- a/Makefile.work +++ b/Makefile.work @@ -395,13 +395,13 @@ SONIC_BUILD_INSTRUCTION := make \ .DEFAULT_GOAL := all +export MIRROR_URLS +export MIRROR_SECURITY_URLS + %:: ifeq ($(MULTIARCH_QEMU_ENVIRON), y) @$(DOCKER_MULTIARCH_CHECK) -export MIRROR_URLS -export MIRROR_SECURITY_URLS - ifneq ($(BLDENV), ) @$(DOCKER_SERVICE_MULTIARCH_CHECK) @$(DOCKER_SERVICE_DOCKERFS_CHECK)