Commit f021b405 authored by Grant Likely's avatar Grant Likely
Browse files

Drop exports of internal variables



Since main.mk was merged into top.mk, there is no longer any need to
export many of the internal variables. Drop the exports to limit
exposing internal details to sub-makes

Signed-off-by: Grant Likely's avatarGrant Likely <grant.likely@arm.com>
parent 862351d1
......@@ -10,21 +10,21 @@
# "$(MAKE) -C ${PROJECT_PATH} ... ${PROJECT_EXTRA} ..."
# Set some defaults that can be overridden by the target makefile include
export DT_PATH := $(CURDIR)/devicetree-rebasing
export DT_OUTPUT := $(DT_PATH)
export TFA_PATH := $(CURDIR)/trusted-firmware-a
export UBOOT_PATH := $(CURDIR)/u-boot
DT_PATH := $(CURDIR)/devicetree-rebasing
DT_OUTPUT := $(DT_PATH)
TFA_PATH := $(CURDIR)/trusted-firmware-a
UBOOT_PATH := $(CURDIR)/u-boot
# Give the option of building in a separate directory
ifdef BUILD_OUTPUT
__BUILD := $(realpath $(BUILD_OUTPUT))
export TFA_OUTPUT := $(__BUILD)/tfa
export TFA_EXTRA += BUILD_BASE=$(TFA_OUTPUT)
export UBOOT_OUTPUT := $(__BUILD)/u-boot
export UBOOT_EXTRA += KBUILD_OUTPUT=$(UBOOT_OUTPUT)
TFA_OUTPUT := $(__BUILD)/tfa
TFA_EXTRA += BUILD_BASE=$(TFA_OUTPUT)
UBOOT_OUTPUT := $(__BUILD)/u-boot
UBOOT_EXTRA += KBUILD_OUTPUT=$(UBOOT_OUTPUT)
else
export TFA_OUTPUT := $(TFA_PATH)/build
export UBOOT_OUTPUT := $(UBOOT_PATH)
TFA_OUTPUT := $(TFA_PATH)/build
UBOOT_OUTPUT := $(UBOOT_PATH)
endif
# ===========================================================================
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment