summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachary <zhangzg@marvell.com>2017-05-12 14:23:22 +0800
committerWilson Ding <dingwei@marvell.com>2017-05-12 14:30:47 +0300
commita0ec2983d055fd0b6d504c97801b3d3b1985cd31 (patch)
treee9cdb00149c2789e1b2bf5b688ef35ef7a1faca8
parent26ae61ae94c65db3d36483fd65a72a73f65e23b2 (diff)
fix: makefile: a3700: correct DOIMAGEPATH assignment
DOIMAGEPATH used to get its path by 'dir' command when Makefile assigns the WTP path to it. The 'dir' command returns the left string from the last "/" of the file or directory path. Therefore, the actual DOIMAGEPATH is missing one level directory without one extra "/" in WTP export env. This patch fixed this issue by assign the WTP path to DOIMAGEPATH directly. Change-Id: I2b18b13f2d3283e714ec6bfa47db6d477295f9c1 Signed-off-by: zachary <zhangzg@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/39355 Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Wilson Ding <dingwei@marvell.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 38e79579..1f9a02b3 100644
--- a/Makefile
+++ b/Makefile
@@ -459,7 +459,7 @@ FIPTOOL ?= ${FIPTOOLPATH}/fiptool${BIN_EXT}
ifeq ($(PLAT),a3700)
#*********** A3700 *************
-DOIMAGEPATH ?= $(dir $(WTP))
+DOIMAGEPATH := $(WTP)
DOIMAGETOOL := $(DOIMAGEPATH)/wtptp_tool/linux/TBB_linux
ifeq ($(MARVELL_SECURE_BOOT),1)