Use abspath to dereference $BUILD_BASE
If the user tries to change BUILD_BASE to put the build products outside
the build tree the compile will fail due to hard coded assumptions that
$BUILD_BASE is a relative path. Fix by using $(abspath $(BUILD_BASE))
to rationalize to an absolute path every time and remove the relative
path assumptions.

This patch also adds documentation that BUILD_BASE can be specified by
the user.

Signed-off-by: Grant Likely <grant.likely@arm.com>
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: Ib1af874de658484aaffc672f30029b852d2489c8
1 parent cf44cb2 commit 29214e95c444b53f544b97127b3e70583d356bee
@Grant Likely Grant Likely authored on 30 Jul 2020
Manish Pandey committed on 4 Aug 2020
Showing 7 changed files
View
Makefile
View
docs/getting_started/build-options.rst
View
lib/romlib/Makefile
View
plat/marvell/armada/a8k/common/ble/ble.mk
View
plat/nvidia/tegra/platform.mk
View
plat/ti/k3/platform.mk
View
tools/sptool/sp_mk_generator.py