Commit 1a4b46d5 authored by Daniel Boulby's avatar Daniel Boulby Committed by Antonio Nino Diaz
Browse files

Set the IMAGE_BLx flag for the linker preprocessor



Change-Id: Ibc91f119c99413ded59a9db3db918d22f0517bc1
Signed-off-by: default avatarDaniel Boulby <daniel.boulby@arm.com>
parent 8d30b498
......@@ -252,10 +252,11 @@ endef
define MAKE_LD
$(eval DEP := $(1).d)
$(eval IMAGE := IMAGE_BL$(call uppercase,$(3)))
$(1): $(2) $(filter-out %.d,$(MAKEFILE_LIST)) | bl$(3)_dirs
@echo " PP $$<"
$$(Q)$$(CPP) $$(CPPFLAGS) -P -D__ASSEMBLY__ -D__LINKER__ $(MAKE_DEP) -o $$@ $$<
$$(Q)$$(CPP) $$(CPPFLAGS) -P -D__ASSEMBLY__ -D__LINKER__ $(MAKE_DEP) -D$(IMAGE) -o $$@ $$<
-include $(DEP)
......
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