summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorzachary <zhangzg@marvell.com>2017-05-12 14:23:22 +0800
committerKonstantin Porotchkin <kostap@marvell.com>2017-08-22 11:18:11 +0300
commit0eac921ab53acd70664b5ec7aab569e9d939cd40 (patch)
tree5efa51bba779284df9ac7548ce155d2201ca7670 /Makefile
parent0ac4aee035386551be4244c061536868ac651afe (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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1574a7db..0514aed9 100644
--- a/Makefile
+++ b/Makefile
@@ -444,7 +444,7 @@ endif
ifeq ($(PLAT),a3700)
#*********** A3700 *************
-DOIMAGEPATH ?= $(dir $(WTP))
+DOIMAGEPATH := $(WTP)
DOIMAGETOOL := $(DOIMAGEPATH)/wtptp_tool/linux/TBB_linux
ifeq ($(MARVELL_SECURE_BOOT),1)