From 646e572d691d489e743dde1dafd788a803a7e7a8 Mon Sep 17 00:00:00 2001 From: Junjie Mao Date: Sun, 28 Feb 2021 10:50:33 +0800 Subject: [PATCH] Makefile: remove unnecessary exports We already passes BOARD, SCENARIO and RELEASE to recursive `make`, which makes it unnecessary to export those variables. This patch explicitly passes TOOLS_OUT as well and removes the explicit export for clarity. Tracked-On: #5772 Signed-off-by: Junjie Mao --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 241743d16..7d47d6ad6 100644 --- a/Makefile +++ b/Makefile @@ -75,8 +75,6 @@ BUILD_TAG ?= HV_CFG_LOG = $(HV_OUT)/cfg.log VM_CONFIGS_DIR = $(T)/misc/config_tools -export TOOLS_OUT BOARD SCENARIO RELEASE - .PHONY: all hypervisor devicemodel tools doc all: hypervisor devicemodel tools @cat $(HV_CFG_LOG) @@ -105,7 +103,7 @@ hypervisor: @cat $(HV_CFG_LOG) devicemodel: tools - $(MAKE) -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) DM_BUILD_VERSION=$(BUILD_VERSION) DM_BUILD_TAG=$(BUILD_TAG) DM_ASL_COMPILER=$(ASL_COMPILER) RELEASE=$(RELEASE) + $(MAKE) -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) DM_BUILD_VERSION=$(BUILD_VERSION) DM_BUILD_TAG=$(BUILD_TAG) DM_ASL_COMPILER=$(ASL_COMPILER) TOOLS_OUT=$(TOOLS_OUT) RELEASE=$(RELEASE) tools: mkdir -p $(TOOLS_OUT)