Commit 3f7ab80e authored by Sandrine Bailleux's avatar Sandrine Bailleux Committed by TrustedFirmware Code Review
Browse files

Merge "Build: fix 'BL stage' comment for build macros" into integration

parents 160391b9 d7db9a6a
...@@ -79,32 +79,32 @@ $(if $(word $(2), $($(1))),\ ...@@ -79,32 +79,32 @@ $(if $(word $(2), $($(1))),\
endef endef
# IMG_LINKERFILE defines the linker script corresponding to a BL stage # IMG_LINKERFILE defines the linker script corresponding to a BL stage
# $(1) = BL stage (2, 30, 31, 32, 33) # $(1) = BL stage (1, 2, 2u, 31, 32)
define IMG_LINKERFILE define IMG_LINKERFILE
${BUILD_DIR}/bl$(1).ld ${BUILD_DIR}/bl$(1).ld
endef endef
# IMG_MAPFILE defines the output file describing the memory map corresponding # IMG_MAPFILE defines the output file describing the memory map corresponding
# to a BL stage # to a BL stage
# $(1) = BL stage (2, 30, 31, 32, 33) # $(1) = BL stage (1, 2, 2u, 31, 32)
define IMG_MAPFILE define IMG_MAPFILE
${BUILD_DIR}/bl$(1).map ${BUILD_DIR}/bl$(1).map
endef endef
# IMG_ELF defines the elf file corresponding to a BL stage # IMG_ELF defines the elf file corresponding to a BL stage
# $(1) = BL stage (2, 30, 31, 32, 33) # $(1) = BL stage (1, 2, 2u, 31, 32)
define IMG_ELF define IMG_ELF
${BUILD_DIR}/bl$(1).elf ${BUILD_DIR}/bl$(1).elf
endef endef
# IMG_DUMP defines the symbols dump file corresponding to a BL stage # IMG_DUMP defines the symbols dump file corresponding to a BL stage
# $(1) = BL stage (2, 30, 31, 32, 33) # $(1) = BL stage (1, 2, 2u, 31, 32)
define IMG_DUMP define IMG_DUMP
${BUILD_DIR}/bl$(1).dump ${BUILD_DIR}/bl$(1).dump
endef endef
# IMG_BIN defines the default image file corresponding to a BL stage # IMG_BIN defines the default image file corresponding to a BL stage
# $(1) = BL stage (2, 30, 31, 32, 33) # $(1) = BL stage (1, 2, 2u, 31, 32)
define IMG_BIN define IMG_BIN
${BUILD_PLAT}/bl$(1).bin ${BUILD_PLAT}/bl$(1).bin
endef endef
...@@ -237,7 +237,7 @@ endef ...@@ -237,7 +237,7 @@ endef
# MAKE_C builds a C source file and generates the dependency file # MAKE_C builds a C source file and generates the dependency file
# $(1) = output directory # $(1) = output directory
# $(2) = source file (%.c) # $(2) = source file (%.c)
# $(3) = BL stage (2, 2u, 30, 31, 32, 33) # $(3) = BL stage (1, 2, 2u, 31, 32)
define MAKE_C define MAKE_C
$(eval OBJ := $(1)/$(patsubst %.c,%.o,$(notdir $(2)))) $(eval OBJ := $(1)/$(patsubst %.c,%.o,$(notdir $(2))))
...@@ -257,7 +257,7 @@ endef ...@@ -257,7 +257,7 @@ endef
# MAKE_S builds an assembly source file and generates the dependency file # MAKE_S builds an assembly source file and generates the dependency file
# $(1) = output directory # $(1) = output directory
# $(2) = assembly file (%.S) # $(2) = assembly file (%.S)
# $(3) = BL stage (2, 2u, 30, 31, 32, 33) # $(3) = BL stage (1, 2, 2u, 31, 32)
define MAKE_S define MAKE_S
$(eval OBJ := $(1)/$(patsubst %.S,%.o,$(notdir $(2)))) $(eval OBJ := $(1)/$(patsubst %.S,%.o,$(notdir $(2))))
...@@ -276,7 +276,7 @@ endef ...@@ -276,7 +276,7 @@ endef
# MAKE_LD generate the linker script using the C preprocessor # MAKE_LD generate the linker script using the C preprocessor
# $(1) = output linker script # $(1) = output linker script
# $(2) = input template # $(2) = input template
# $(3) = BL stage (2, 2u, 30, 31, 32, 33) # $(3) = BL stage (1, 2, 2u, 31, 32)
define MAKE_LD define MAKE_LD
$(eval DEP := $(1).d) $(eval DEP := $(1).d)
...@@ -310,7 +310,7 @@ endef ...@@ -310,7 +310,7 @@ endef
# MAKE_OBJS builds both C and assembly source files # MAKE_OBJS builds both C and assembly source files
# $(1) = output directory # $(1) = output directory
# $(2) = list of source files (both C and assembly) # $(2) = list of source files (both C and assembly)
# $(3) = BL stage (2, 30, 31, 32, 33) # $(3) = BL stage (1, 2, 2u, 31, 32)
define MAKE_OBJS define MAKE_OBJS
$(eval C_OBJS := $(filter %.c,$(2))) $(eval C_OBJS := $(filter %.c,$(2)))
$(eval REMAIN := $(filter-out %.c,$(2))) $(eval REMAIN := $(filter-out %.c,$(2)))
...@@ -387,7 +387,7 @@ endef ...@@ -387,7 +387,7 @@ endef
# MAKE_BL macro defines the targets and options to build each BL image. # MAKE_BL macro defines the targets and options to build each BL image.
# Arguments: # Arguments:
# $(1) = BL stage (2, 2u, 30, 31, 32, 33) # $(1) = BL stage (1, 2, 2u, 31, 32)
# $(2) = FIP command line option (if empty, image will not be included in the FIP) # $(2) = FIP command line option (if empty, image will not be included in the FIP)
# $(3) = FIP prefix (optional) (if FWU_, target is fwu_fip instead of fip) # $(3) = FIP prefix (optional) (if FWU_, target is fwu_fip instead of fip)
define MAKE_BL define MAKE_BL
......
Markdown is supported
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