summaryrefslogtreecommitdiff
path: root/plat/marvell
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2023-01-16 16:53:45 +0000
committerChris Kay <chris.kay@arm.com>2023-02-10 17:01:46 +0000
commit82274936374bf630bf5256370e93a531fdda6372 (patch)
treed40922c4ed0df403d503efaac3a20f75fc080544 /plat/marvell
parentf90fe02f061b8a203391e566682221396b656c6f (diff)
downloadarm-trusted-firmware-82274936374bf630bf5256370e93a531fdda6372.tar.gz
build: clarify linker script generation
The following build system variables have been renamed: - `LINKERFILE` -> `DEFAULT_LINKER_SCRIPT` - `BL_LINKERFILE` -> `DEFAULT_LINKER_SCRIPT_SOURCE` - `<IMAGE>_LINKERFILE` -> `<IMAGE>_DEFAULT_LINKER_SCRIPT_SOURCE` These new names better reflect how each variable is used: 1. the default linker script is passed via `-dT` instead of `-T` 2. linker script source files are first preprocessed Additionally, linker scripts are now placed in the build directory relative to where they exist in the source directory. For example, the `bl32/sp_min/sp_min.ld.S` would now preprocess to `sp_min/sp_min.ld` instead of just `bl32.ld` BREAKING-CHANGE: The `LINKERFILE`, `BL_LINKERFILE` and `<IMAGE_LINKERFILE>` build system variables have been renamed. See the commit message for more information. Change-Id: If8cef65dcb8820e8993736702c8741e97a66e6cc Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'plat/marvell')
-rw-r--r--plat/marvell/armada/a8k/common/ble/ble.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/marvell/armada/a8k/common/ble/ble.mk b/plat/marvell/armada/a8k/common/ble/ble.mk
index 160e98f12..752ab419d 100644
--- a/plat/marvell/armada/a8k/common/ble/ble.mk
+++ b/plat/marvell/armada/a8k/common/ble/ble.mk
@@ -21,7 +21,7 @@ MV_DDR_INCLUDES := -I$(CURDIR)/include \
-I$(CURDIR)/include/lib/libc \
-I$(CURDIR)/include/lib/libc/aarch64
-BLE_LINKERFILE := $(BLE_PATH)/ble.ld.S
+BLE_DEFAULT_LINKER_SCRIPT_SOURCE := $(BLE_PATH)/ble.ld.S
BLE_OBJS := $(addprefix $(BUILD_PLAT)/ble/,$(call SOURCES_TO_OBJS,$(BLE_SOURCES)))
$(BLE_OBJS): PLAT_INCLUDES += -I$(MV_DDR_PATH)